Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Showing results 1 to 11 of 11
Search took 0.00 seconds.
Search: Posts Made By: mike7510uk
Forum: ASP.NET 2.0 Basics January 31st, 2007, 05:17 AM
Replies: 24
Views: 60,245
Posted By mike7510uk
similar thing to what i did before except i want...

similar thing to what i did before except i want to return the id of the row when the checkbox is clicked. can this be done?

www.nursery-net.com
Forum: ASP.NET 2.0 Basics December 13th, 2006, 11:22 AM
Replies: 24
Views: 60,245
Posted By mike7510uk
I have now managed to do this...(at last) ...

I have now managed to do this...(at last)


Protected Sub save_CheckedChanged(ByVal sender As Object, ByVal e As System.EventArgs)

Dim MyConnection As OdbcConnection

MyConnection = New...
Forum: ASP.NET 2.0 Basics December 13th, 2006, 05:29 AM
Replies: 24
Views: 60,245
Posted By mike7510uk
Ok, maybe i havent explained it properly.. ...

Ok, maybe i havent explained it properly..
Basically, i want a gridview with a templatefield (or checkboxfield) with a checkbox on it that when the user clicks the checkbox it sends a 1 or 0 value...
Forum: ASP.NET 2.0 Basics December 13th, 2006, 05:07 AM
Replies: 24
Views: 60,245
Posted By mike7510uk
Ok, i cant use a button because the checkbox is...

Ok, i cant use a button because the checkbox is there to send a value (1 or 0) back to DB. Then on another form the gridview row will be displayed if a the DB value is 1. I dont want the users to get...
Forum: ASP.NET 2.0 Basics December 12th, 2006, 12:24 PM
Replies: 24
Views: 60,245
Posted By mike7510uk
yes i had considered using the button but decided...

yes i had considered using the button but decided against it has the button would only be used to update the checkbox state in DB

www.nursery-net.com
Forum: ASP.NET 2.0 Basics December 12th, 2006, 12:19 PM
Replies: 24
Views: 60,245
Posted By mike7510uk
no, i suppose that would be bad practise. I just...

no, i suppose that would be bad practise. I just cant seem to get my head around this

www.nursery-net.com
Forum: ASP.NET 2.0 Basics December 12th, 2006, 12:11 PM
Replies: 24
Views: 60,245
Posted By mike7510uk
If anyone has a working example of this i would...

If anyone has a working example of this i would be very greatful to see it working

www.nursery-net.com
Forum: ASP.NET 2.0 Basics December 12th, 2006, 12:09 PM
Replies: 24
Views: 60,245
Posted By mike7510uk
yes i am not sure what event to use. If the...

yes i am not sure what event to use. If the gridview has say 7 rows and the user clicks the checkbox on row 3 only row 3 in DB should be updated.

www.nursery-net.com
Forum: ASP.NET 2.0 Basics December 12th, 2006, 11:57 AM
Replies: 24
Views: 60,245
Posted By mike7510uk
i tried that already and cant get it to...

i tried that already and cant get it to work...here is code i have so far...

Protected Sub GridView1_RowDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs)...
Forum: ASP.NET 2.0 Basics December 12th, 2006, 11:27 AM
Replies: 24
Views: 60,245
Posted By mike7510uk
i have a gridview with several columns and a...

i have a gridview with several columns and a templatefield containing a checkbox. when the user clicks the checkbox i want to update the database with a 1 (if checked) or a 0 (if unchecked). also, it...
Forum: ASP.NET 2.0 Basics December 12th, 2006, 05:34 AM
Replies: 24
Views: 60,245
Posted By mike7510uk
can i please see your working code for this?

can i please see your working code for this?
Showing results 1 to 11 of 11

 


All times are GMT -4. The time now is 11:36 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.