Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 3.5 > ASP.NET 3.5 Basics
|
ASP.NET 3.5 Basics If you are new to ASP or ASP.NET programming with version 3.5, this is the forum to begin asking questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 29th, 2009, 09:12 AM
Authorized User
 
Join Date: Aug 2006
Posts: 65
Thanks: 0
Thanked 0 Times in 0 Posts
Question CheckboxList in EDIT PAGE(vb .net)

hi there, i start to learn asp.net in Vb recently. but i have some problem in doing the checkboxlist. I have sucess to insert the selected value from the checkboxlist into the database. but now i facing issues in retrieving the selected checkbox value in the EDIT page.

i have two table,table A is store the jobType, tbl B is store the multiple jobtype for each user

TBL A
--------
JobTypeID
JobTypeName


TBL B
--------
UserID
JobTypeID


i have no idea on how to retrieve it in EDIT page? what i plan is
1st : drag the checkboxlist control into a form View, then RETRIEVE all the jobtype from the TBL A
2nd : erm....i dont know how to retireve that user selected job type from table B and the checkboxlist will "CHECKED" if the value is in the DB.


plz guide or share to me on writing the backend code in VB. hope to hear from u all soon.

Thank you.

** I am using LINQ for the tables and store procedure.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Can Edit/New buttons be added to CheckBoxList ? cJeffreywang ASP.NET 2.0 Basics 0 September 15th, 2008 06:54 PM
VB.Net Gridview Column add and edit heading Bryan Stanley ASP.NET 2.0 Basics 2 August 26th, 2007 09:50 PM
Parse XML doc using VB.NET into ASP.NET page kwilliams Classic ASP XML 17 November 11th, 2005 10:42 AM
How can I call a vb.net Exe from an asp.net page? jorevil Classic ASP Basics 0 October 1st, 2003 11:34 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.