Go Back   Velocity Reviews > Newsgroups > MCSD
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

MCSD - Help - for .NET newbie

 
Thread Tools Search this Thread
Old 04-08-2004, 03:01 PM   #1
Default Help - for .NET newbie


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
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

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




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46