Click here to Skip to main content
15,899,679 members
Home / Discussions / C#
   

C#

 
QuestionEvent on receiving data? Pin
Snowjim7-Apr-05 12:36
Snowjim7-Apr-05 12:36 
AnswerRe: Event on receiving data? Pin
Snowjim7-Apr-05 13:14
Snowjim7-Apr-05 13:14 
GeneralRe: Event on receiving data? Pin
Snowjim8-Apr-05 0:42
Snowjim8-Apr-05 0:42 
GeneralRe: Event on receiving data? Pin
Sebastian Schneider8-Apr-05 0:59
Sebastian Schneider8-Apr-05 0:59 
GeneralRe: Event on receiving data? Pin
Snowjim14-Apr-05 8:23
Snowjim14-Apr-05 8:23 
QuestionAutofilter in a Dropdown box? Pin
DEWright_CA7-Apr-05 12:16
DEWright_CA7-Apr-05 12:16 
GeneralInstantiation using Reflection Pin
Alexandre Brisebois7-Apr-05 9:54
Alexandre Brisebois7-Apr-05 9:54 
GeneralFunction Help! Pin
DEWright_CA7-Apr-05 9:50
DEWright_CA7-Apr-05 9:50 
Hey folks!

I need help getting something done. I need a function to do this but can not seem to figure out the structure to make it happen.

This is a plain text explanation of what I am doing, how should it be in C#??

public static void tiers()<br />
{<br />
string tier_temp = "124.5"; //Session Var passed from queryform<br />
if tier_temp has "."<br />
   string tier_fr = extract number to left of ".";<br />
   string tier = extract numbers to right of ".";<br />
else<br />
   string tier_fr = "0";<br />
   string tier = tier_temp;<br />
}


I have seen this done using Mid and Left in VB6 but can not see how it should be done in C#

HELP!!!
Thanks Everyone!

David

You are only as good as your last project.
GeneralRe: Function Help! Pin
DavidNohejl7-Apr-05 10:56
DavidNohejl7-Apr-05 10:56 
GeneralRe: Function Help! Pin
DEWright_CA7-Apr-05 11:03
DEWright_CA7-Apr-05 11:03 
GeneralRe: Function Help! Pin
DavidNohejl7-Apr-05 11:22
DavidNohejl7-Apr-05 11:22 
GeneralRe: Function Help! Pin
DEWright_CA7-Apr-05 11:48
DEWright_CA7-Apr-05 11:48 
GeneralEvents from GUI Pin
Member 15698107-Apr-05 9:35
Member 15698107-Apr-05 9:35 
GeneralRe: Events from GUI Pin
DavidNohejl7-Apr-05 11:23
DavidNohejl7-Apr-05 11:23 
GeneralRe: Events from GUI Pin
C_Simpkins7-Apr-05 13:55
C_Simpkins7-Apr-05 13:55 
GeneralRe: Events from GUI Pin
Member 15698108-Apr-05 5:42
Member 15698108-Apr-05 5:42 
GeneralRe: Events from GUI Pin
C_Simpkins8-Apr-05 7:31
C_Simpkins8-Apr-05 7:31 
GeneralGet Programs from systray Pin
Dispulse7-Apr-05 9:17
Dispulse7-Apr-05 9:17 
GeneralRe: Get Programs from systray Pin
Sebastian Schneider7-Apr-05 20:02
Sebastian Schneider7-Apr-05 20:02 
GeneralRe: Get Programs from systray Pin
Dispulse7-Apr-05 21:53
Dispulse7-Apr-05 21:53 
GeneralC# storing MS word into ms Access as doc. Pin
remenard7-Apr-05 9:15
remenard7-Apr-05 9:15 
QuestionCand find DataReceived on SerialPort class? Pin
Snowjim7-Apr-05 8:28
Snowjim7-Apr-05 8:28 
GeneralEditing/Creating Group Policies in XP through C# Pin
Schleichermann7-Apr-05 7:15
Schleichermann7-Apr-05 7:15 
GeneralRe: Editing/Creating Group Policies in XP through C# Pin
Dave Kreskowiak7-Apr-05 9:31
mveDave Kreskowiak7-Apr-05 9:31 
GeneralRe: Editing/Creating Group Policies in XP through C# Pin
Schleichermann7-Apr-05 9:53
Schleichermann7-Apr-05 9:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.