Ask a Question related to ASP.NET Data Grid Control, Design and Development.
-
Anish #1
Edit, Add , Delete Data from a DataGrid
Hi...
I am pretty new to the .NET especially Visual C++.NET . I have a
question maybe the experts here can answer. I have an XML file and the
data from that is displayed on a datagrid. However I wish this data to
be modified and new data to be added as well as deleted. Any ideas..?
Sample code.. highly appreciated !!! :-)
These are my files...
"parts.xml" - a simple xml file .
The coding for the dataset and datagrid are given as below....
private: System::Void button1_Click(System::Object * sender,
System::EventArgs * e)
{
ds = new DataSet();
ds->ReadXml(S"parts.xml");
dataGrid1->DataSource=ds;
}
Thanx in advance ;-)
Anish Guest
-
Delete form - Post data to a table and delete uponsubmit.
I have a delete form that I'd like to post the data to a table (delete_pcn) and delete upon submit, so that all deletions may be kept track of in... -
datagrid with edit option selecting data
In asp.net web page that has a datagrid, how do you get the value from the selected edit textboxes? -
DataGrid with edit,insert & delete but with no ViewState !?
is this possible and how? -
DataGrid contains no data after postback of edit button click...
This is specifically what is going on in my application:... -
Add/Edit/Delete Fields in Datagrid
You can edit in-place abyway. Suggest you consifer using right click invoked context menus for Insert/Delete functions, its cleaner "Jordan... -
Peter Bromberg [C# MVP] #2
Re: Edit, Add , Delete Data from a DataGrid
If you want to use an Xml file as a datasource, you might want to look
into Susan Warren's excellent XmlEditGrid. I wrote an article on this
some time ago, here:
[url]http://www.eggheadcafe.com/articles/20040612.asp[/url]
Peter Bromberg [C# MVP] Guest



Reply With Quote

