Click here to Skip to main content
15,887,434 members
Home / Discussions / C#
   

C#

 
GeneralRe: Regular expressions Pin
Skippums27-Nov-07 11:09
Skippums27-Nov-07 11:09 
GeneralRe: Regular expressions Pin
TJoe27-Nov-07 12:33
TJoe27-Nov-07 12:33 
GeneralRe: Regular expressions Pin
hamidkhan8-Dec-07 5:22
hamidkhan8-Dec-07 5:22 
QuestionCombo Box.ValueMember Problem Pin
sajid.salim.khan27-Nov-07 6:00
sajid.salim.khan27-Nov-07 6:00 
AnswerRe: Combo Box.ValueMember Problem Pin
led mike27-Nov-07 6:13
led mike27-Nov-07 6:13 
AnswerRe: Combo Box.ValueMember Problem Pin
pmarfleet27-Nov-07 6:16
pmarfleet27-Nov-07 6:16 
GeneralRe: Combo Box.ValueMember Problem Pin
sajid.salim.khan27-Nov-07 6:24
sajid.salim.khan27-Nov-07 6:24 
QuestionVariables and Command Button Pin
Chip Lambert27-Nov-07 5:19
Chip Lambert27-Nov-07 5:19 
Hello everyone.

I'm still in the process of learning C# (but not programming) so bear with me if this is something really trivial and a "duh" question Smile | :)

How can I pass variables to a command button? For example, I'm working on an inventory/task system for work. I look up a laptop that has an asset tag of 740 for example, and on that Windows form I have a button that allows me to look up all tasks associated with that asset tag. My SQL query would be like "select * from tasks where asset_tag = '740'" but I don't know how to pass that SQL query the "740" piece. Hopefully this all makes sense and I haven't sounded like an idiot Smile | :)

Thanks guys!

Chip
AnswerRe: Variables and Command Button Pin
darkelv27-Nov-07 5:25
darkelv27-Nov-07 5:25 
GeneralRe: Variables and Command Button Pin
Chip Lambert27-Nov-07 5:29
Chip Lambert27-Nov-07 5:29 
GeneralRe: Variables and Command Button Pin
Colin Angus Mackay27-Nov-07 5:30
Colin Angus Mackay27-Nov-07 5:30 
GeneralRe: Variables and Command Button Pin
darkelv27-Nov-07 5:33
darkelv27-Nov-07 5:33 
AnswerRe: Variables and Command Button Pin
szukuro27-Nov-07 5:26
szukuro27-Nov-07 5:26 
QuestionWindows form and filesystem watcher threading issue Pin
tsiv27-Nov-07 4:28
tsiv27-Nov-07 4:28 
AnswerRe: Windows form and filesystem watcher threading issue Pin
Vikram A Punathambekar27-Nov-07 4:41
Vikram A Punathambekar27-Nov-07 4:41 
GeneralRe: Windows form and filesystem watcher threading issue Pin
tsiv27-Nov-07 5:55
tsiv27-Nov-07 5:55 
GeneralRe: Windows form and filesystem watcher threading issue Pin
led mike27-Nov-07 6:02
led mike27-Nov-07 6:02 
GeneralRe: Windows form and filesystem watcher threading issue Pin
tsiv28-Nov-07 0:22
tsiv28-Nov-07 0:22 
GeneralRe: Windows form and filesystem watcher threading issue Pin
led mike28-Nov-07 5:51
led mike28-Nov-07 5:51 
AnswerRe: Windows form and filesystem watcher threading issue Pin
Vikram A Punathambekar27-Nov-07 4:42
Vikram A Punathambekar27-Nov-07 4:42 
AnswerRe: Windows form and filesystem watcher threading issue Pin
Obaid ur Rehman27-Nov-07 4:44
Obaid ur Rehman27-Nov-07 4:44 
QuestionStore a pointer in a DataGridView cell? (or other method of referencing a pointer) [modified] Pin
alanteigne27-Nov-07 4:26
alanteigne27-Nov-07 4:26 
AnswerRe: Store a pointer in a DataGridView cell? (or other method of referencing a pointer) Pin
Skippums27-Nov-07 6:38
Skippums27-Nov-07 6:38 
GeneralRe: Store a pointer in a DataGridView cell? (or other method of referencing a pointer) Pin
alanteigne27-Nov-07 7:22
alanteigne27-Nov-07 7:22 
Questionmaybe someone here knows Pin
damianrda27-Nov-07 3:51
damianrda27-Nov-07 3:51 

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.