Ask a Question related to ASP.NET Data Grid Control, Design and Development.
-
steroche #1
Databound Update(untyped dataset)
I am trying to perform an update of a databound datagrid. I just cant
figue out how to update the rows and though. Every example i come
across either uses that example with the FindbyCategoryID method in a
typed dataset or uses a DataView which i dont think i want to do
either.
How do i get the inputted values of the selected fields out of the
datagrid and update the dataset from these?
Can anybody help please?
Thanks
steroche Guest
-
HELP! Databound Update(untyped dataset)
I am trying to perform an update of a databound datagrid. I just cant figue out how to update the rows and though. Every example i come across... -
HELP with dataset update
I am trying to update a dataset on a web page. I keep getting concurrency validation error. Here is the code. I have shortened it for posting... -
Ccopying a datatable content from an untyped dataset into a table which is inside a typed dataset
Hi All, I am facing problem in copying content of table from a untyped dataset into to a table inside the typed dataset. I wanted to copy the data... -
Update database using dataset
I have a number of text boxes that are all data bound to a data set. I would like the user to be able to make changes to these text boxes and then... -
update dataset
How can I update a dataset loaded with data from an xml file? The structure of the xml: <Poll> <Choice>First Choice</Choice> -
Phillip Williams #2
RE: Databound Update(untyped dataset)
"steroche" wrote:
There are many ways. One simple way is to use a primary key on the table.> I am trying to perform an update of a databound datagrid. I just cant
> figue out how to update the rows
When you bind the DataTable to the grid you specify a DataKeyField. Then in
the method that updates your data you find the rows in the table by using
that DataKey. I have an example on this link that does that:
[url]http://www.societopia.net/samples/datagrid_3.aspx[/url]
This example also demonstrates how to highlight a selected row on a grid
while displaying the details of that row in another grid (which also answers
the question that you posted in another thread)
HTH,
Phillip Williams
[url]http://www.societopia.net[/url]
[url]http://www.webswapp.com[/url]
Phillip Williams Guest



Reply With Quote

