Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > editing bit columns

Reply
Thread Tools

editing bit columns

 
 
Dean
Guest
Posts: n/a
 
      09-17-2003
I'm trying to edit a table with a text columnand a bit column. The text
column works fine and the bit column displays the checkbox template column
ok but I can't seem to figure out how to get the selected value into my row
field the Updatecommand event. I'm trying to do the following:

private sub myGrid_UpdateCommand(byval........
..
..
myrow.textfield = CType(e.item.cells(0).controls(0), TextBox).text <--
works fine
myrow.bitfield = CType(e.item.cells(1).controls(0), boolean) < --value of
UI can't be converted to boolean


How can I get the value of the check box into the bit field?
Thanks,
Dean


 
Reply With Quote
 
 
 
Reply

Thread Tools

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the point of having 16 bit colour if a computer monitor can only display 8 bit colour? How do you edit 16 bit colour when you can only see 8 bit? Scotius Digital Photography 6 07-13-2010 03:33 AM
Editing in 16 bit but viewing in 8 bit Gautam Majumdar Digital Photography 8 04-12-2005 02:37 AM
64 bit - Windows Liberty 64bit, Windows Limited Edition 64 Bit, Microsoft SQL Server 2000 Developer Edition 64 Bit, IBM DB2 64 bit - new ! vvcd Computer Support 0 09-17-2004 08:15 PM
64 bit - Windows Liberty 64bit, Windows Limited Edition 64 Bit,Microsoft SQL Server 2000 Developer Edition 64 Bit, IBM DB2 64 bit - new! Ionizer Computer Support 1 01-01-2004 07:27 PM
16 bit vs 8 bit image editing Robert Feinman Digital Photography 1 11-04-2003 11:38 PM



Advertisments
 



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 47 48 49 50 51 52 53 54 55 56 57