Click here to Skip to main content
15,921,028 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: CheckBoxList (ListItem.Selected) Pin
Paul Riley2-Oct-02 9:54
Paul Riley2-Oct-02 9:54 
GeneralRe: CheckBoxList (ListItem.Selected) Pin
leppie2-Oct-02 10:17
leppie2-Oct-02 10:17 
GeneralRe: CheckBoxList (ListItem.Selected) Pin
Paul Riley2-Oct-02 10:31
Paul Riley2-Oct-02 10:31 
GeneralRe: CheckBoxList (ListItem.Selected) Pin
leppie2-Oct-02 11:23
leppie2-Oct-02 11:23 
GeneralRe: CheckBoxList (ListItem.Selected) Pin
Paul Riley2-Oct-02 11:55
Paul Riley2-Oct-02 11:55 
GeneralRe: CheckBoxList (ListItem.Selected) Pin
leppie2-Oct-02 12:08
leppie2-Oct-02 12:08 
GeneralRe: CheckBoxList (ListItem.Selected) Pin
Paul Riley2-Oct-02 12:07
Paul Riley2-Oct-02 12:07 
GeneralRe: CheckBoxList (ListItem.Selected) Pin
leppie2-Oct-02 12:29
leppie2-Oct-02 12:29 
You can even just bind the data without that code, by just using the Property Builder and you get this :

<%@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false" Inherits="WebApplication1.WebForm1" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>WebForm1</title>
		<meta name="GENERATOR" Content="Microsoft Visual Studio 7.0">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<asp:DataGrid id=DataGrid1 style="Z-INDEX: 101; LEFT: 10px; POSITION: absolute; TOP: 11px" runat="server" Width="720px" Height="247px" DataSource="<%# dataSet11 %>" DataKeyField="ID" AllowSorting="True" DataMember="Users">
			</asp:DataGrid>
		</form>
	</body>
</HTML>


and in the page load event:

oleDbDataAdapter1.Fill(dataSet11.Users);
DataBind();


My HTML pages look similar to this. Dump one container control, and preform all the rest of tasks at server-side Smile | :) I must say the DtaGrid is extremely well designed, but can be a bit limiting, hence my need to have made a custom control.

Give them a chance! Do it for the kittens, dear God, the kittens!
As seen on MS File Transfer: Please enter an integer between 1 and 2.
GeneralRe: CheckBoxList (ListItem.Selected) Pin
Paul Riley2-Oct-02 12:35
Paul Riley2-Oct-02 12:35 
GeneralRe: CheckBoxList (ListItem.Selected) Pin
leppie2-Oct-02 12:59
leppie2-Oct-02 12:59 
GeneralRe: CheckBoxList (ListItem.Selected) Pin
Paul Riley2-Oct-02 13:09
Paul Riley2-Oct-02 13:09 
GeneralIDE for ASP Pin
Sarvesvara (BVKS) Dasa2-Oct-02 0:57
Sarvesvara (BVKS) Dasa2-Oct-02 0:57 
GeneralRe: IDE for ASP Pin
Megan Forbes2-Oct-02 1:02
Megan Forbes2-Oct-02 1:02 
GeneralRe: IDE for ASP Pin
raajsekhar3-Oct-02 2:11
raajsekhar3-Oct-02 2:11 
GeneralRe: IDE for ASP Pin
goddess_spanky3-Oct-02 9:22
goddess_spanky3-Oct-02 9:22 
GeneralJavascript function name Pin
Perica Zivkovic1-Oct-02 23:01
Perica Zivkovic1-Oct-02 23:01 
GeneralRe: Javascript function name Pin
alex.barylski2-Oct-02 12:30
alex.barylski2-Oct-02 12:30 
GeneralControl resizeing... Pin
Ray Cassick1-Oct-02 20:08
Ray Cassick1-Oct-02 20:08 
GeneralRe: Control resizeing... Pin
Paul Watson1-Oct-02 23:05
sitebuilderPaul Watson1-Oct-02 23:05 
GeneralRe: Control resizeing... Pin
Ray Cassick2-Oct-02 4:00
Ray Cassick2-Oct-02 4:00 
GeneralRe: Control resizeing... Pin
Paul Riley2-Oct-02 5:48
Paul Riley2-Oct-02 5:48 
GeneralRe: Control resizeing... Pin
Ray Cassick2-Oct-02 7:16
Ray Cassick2-Oct-02 7:16 
GeneralRe: Control resizeing... Pin
Paul Riley2-Oct-02 7:37
Paul Riley2-Oct-02 7:37 
GeneralClearing Cache in Asp.Net Pin
Jason Weibel1-Oct-02 12:06
Jason Weibel1-Oct-02 12:06 
GeneralRe: Clearing Cache in Asp.Net Pin
Jason Weibel2-Oct-02 1:44
Jason Weibel2-Oct-02 1:44 

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.