![]() |
|
|
|
#1 |
|
I'm trying to write a routine to check if a user is an Admin from a SQL
table. 'Admin' column of the table is defined as bit (boolean) and signifies whether the user is admin or not. Once I filled my dataset, I can use it to fill my grid. If the user is admin, I want to disable some textboxes on the form for that user. How do I do this ? How do I get to the value of Admin and check to see if it's true or false. My dataset name is dataSet11. Tablename is 'contacts'. Column name is 'Admin' and is defined as bit type. Can someone show me what the code may look like in C# ? Thanks djfd |
|
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Newbie; what is the best software to convert DVD (Vob) file to avi - divx ? | Laura25 | DVD Video | 4 | 07-12-2006 03:03 PM |
| NEWBIE - DVD burn problem - need help | Vic Baron | DVD Video | 6 | 09-29-2005 10:56 PM |
| newbie | Chris | A+ Certification | 1 | 08-16-2005 12:53 AM |
| Another newbie question | Jerold Pearson | DVD Video | 1 | 12-11-2004 02:25 AM |
| Newbie to Linux Mandrake | Volund | A+ Certification | 5 | 10-01-2004 03:12 PM |