Click here to Skip to main content
15,923,083 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Displaying Data from Access Pin
Mekong River1-Aug-04 4:18
Mekong River1-Aug-04 4:18 
GeneralMultiple Inheritance Pin
Ravi S.V.30-Jul-04 22:17
Ravi S.V.30-Jul-04 22:17 
GeneralRe: Multiple Inheritance Pin
Colin Angus Mackay31-Jul-04 3:24
Colin Angus Mackay31-Jul-04 3:24 
Generalcreate data dictionary Pin
Britnt730-Jul-04 9:33
Britnt730-Jul-04 9:33 
GeneralNot sure what happened below Pin
partt30-Jul-04 9:22
partt30-Jul-04 9:22 
GeneralRe: Not sure what happened below Pin
Colin Angus Mackay31-Jul-04 3:25
Colin Angus Mackay31-Jul-04 3:25 
GeneralRe: Not sure what happened below Pin
Anonymous2-Aug-04 3:50
Anonymous2-Aug-04 3:50 
GeneralCheckbox in Datagrid Pin
partt30-Jul-04 9:18
partt30-Jul-04 9:18 
Below is the code for my datagrid. I am using Sql Server 2000. How can I have checkbox.checked = true in the grid when I load it based on the data sent from the database?
Thanks for any help.

<asp:datagrid id="dgCons" runat="server" height="196px" width="259px" font-size="10pt" backcolor="White" borderwidth="1px" borderstyle="None" cellpadding="4" bordercolor="#3366CC">
<selecteditemstyle font-bold="True" forecolor="#CCFF99" backcolor="#009999">
<itemstyle forecolor="#003399" backcolor="White">
<headerstyle font-size="Smaller" font-bold="True" forecolor="Navy" backcolor="InactiveCaptionText">
<footerstyle forecolor="#003399" backcolor="#99CCCC">
<columns>
<asp:templatecolumn>
<itemtemplate>
<asp:checkbox id="chkUse" runat="server">



<pagerstyle borderwidth="1px" bordercolor="White" horizontalalign="Left" forecolor="#003399" backcolor="#99CCCC" mode="NumericPages">


************************************************************************

Dim PKConsU As DataTable = DirectCast(Session("GetCons"), DataTable)
Dim sl As New PK.BusinessLogicLayer.CAccessories()
sl.CMCode = Request.QueryString("CMCode")
PKConsU = New DataTable()
PKConsU = sl.ConsumerU(Session("CurrentTesterID"))
Session("GetCons") = PKConsU

dgCons.DataSource = PKConsU
dgCons.DataKeyField = "GeneralDescription"
dgCons.DataBind()
GeneralVector Pin
fo0lish30-Jul-04 8:33
fo0lish30-Jul-04 8:33 
GeneralRe: Vector Pin
Colin Angus Mackay31-Jul-04 3:28
Colin Angus Mackay31-Jul-04 3:28 
GeneralRe: Vector Pin
fo0lish31-Jul-04 4:03
fo0lish31-Jul-04 4:03 
GeneralGraphical Representation of Sound intensity Pin
alexvw30-Jul-04 7:36
alexvw30-Jul-04 7:36 
GeneralRe: Graphical Representation of Sound intensity Pin
Dave Kreskowiak1-Aug-04 3:59
mveDave Kreskowiak1-Aug-04 3:59 
GeneralRe: Graphical Representation of Sound intensity Pin
ppomor15-Jan-13 7:49
ppomor15-Jan-13 7:49 
GeneralRedirecting Standard output in an unmanaged DLL Pin
madfiddlerchris30-Jul-04 4:56
madfiddlerchris30-Jul-04 4:56 
GeneralRe: Redirecting Standard output in an unmanaged DLL Pin
madfiddlerchris30-Jul-04 5:58
madfiddlerchris30-Jul-04 5:58 
Questionmerging projects?? Pin
kowplunk30-Jul-04 4:34
kowplunk30-Jul-04 4:34 
AnswerRe: merging projects?? Pin
Dave Kreskowiak1-Aug-04 3:57
mveDave Kreskowiak1-Aug-04 3:57 
Generalparsing video files in VB Pin
Kevnar30-Jul-04 3:35
Kevnar30-Jul-04 3:35 
GeneralRe: parsing video files in VB Pin
Kevnar1-Aug-04 22:07
Kevnar1-Aug-04 22:07 
GeneralPackage And deployment in VB.NET Pin
Thangaraj P.V.30-Jul-04 2:27
Thangaraj P.V.30-Jul-04 2:27 
GeneralRe: Package And deployment in VB.NET Pin
Dave Kreskowiak30-Jul-04 3:35
mveDave Kreskowiak30-Jul-04 3:35 
GeneralDirectX 9 Pin
Jim Taylor29-Jul-04 23:35
Jim Taylor29-Jul-04 23:35 
GeneralRe: DirectX 9 Pin
Dave Kreskowiak30-Jul-04 3:09
mveDave Kreskowiak30-Jul-04 3:09 
GeneralRe: DirectX 9 Pin
Jim Taylor30-Jul-04 4:01
Jim Taylor30-Jul-04 4:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.