| | |
binding a datagrid to a datareader
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Aug 2004
Posts: 3
Reputation:
Solved Threads: 2
Hi,
i'm trying to make use of sqldataconnections/commands&readers to populate
a datagrid..the msdn collection lib. hasnt been much help at all in this regard
In addition to binding to the datagrid, i also want to be able to make use of the datagrids ability to update the data to which it is bound by editing the data in the grid, i need to accomlish this through the use of a datareader as well..
any help in this regard will be much appreciated...
thanx alot in advance...
Afzal Hassen
i'm trying to make use of sqldataconnections/commands&readers to populate
a datagrid..the msdn collection lib. hasnt been much help at all in this regard
In addition to binding to the datagrid, i also want to be able to make use of the datagrids ability to update the data to which it is bound by editing the data in the grid, i need to accomlish this through the use of a datareader as well..
any help in this regard will be much appreciated...
thanx alot in advance...
Afzal Hassen
DataGrid1.DataSource = yourdatareader;
DataGrid1.DataBind();
DataGrid1.DataBind();
-Ryan Hoffman
.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
![]() |
Similar Threads
- problems editing dataGrid and 'Tab' delimited text file (C#)
- binding datagrid dynamically with "add button" (ASP.NET)
- how to format a Datagrid ?? (C#)
- Search in Datagrid... (VB.NET)
- Datagrid to draw a table (C#)
- another one...selecing rows in datagrid and sorting with column headers (VB.NET)
- Nest Datagrids (ASP.NET)
Other Threads in the ASP.NET Forum
- Previous Thread: What is .NET
- Next Thread: can't concatenate variables and add text
| Thread Tools | Search this Thread |
.net activexcontrol advice ajax alltypeofvideos appliances asp asp.net bc30451 beginner bottomasp.net box browser button c# cac checkbox click commonfunctions control css dataaccesslayer database datagridview datagridviewcheckbox datalist deadlock deployment development dgv dialog dropdownlist dynamic dynamically edit embeddingactivexcontrol expose fileuploader fill findcontrol flash formatdecimal formview gridview gudi iframe iis javascript listbox login microsoft mono mouse mssql multistepregistration news novell numerical objects opera panelmasterpagebuttoncontrols radio redirect registration relationaldatabases reportemail rotatepage save schoolproject search security sessionvariables silverlight smartcard smoobjects software sql-server sqlserver2005 ssl suse textbox tracking treeview unauthorized validatedate validation vb.net video videos virtualdirectory vista visualstudio web webapplications webdevelopemnt webdevelopment webprogramming webservice xsl youareanotmemberofthedebuggerusers





