Edit, Add , Delete Data from a DataGrid

A

Anish

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 ;-)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top