Oke,
I am a newbie to VB.net so be kind to me.
I'm trying to create a program that can work without any database backend.
So i created a xml-file throug Access 2003 containing the data.
I can fill a datagrid on a form use the following code
Now i want to do a couple of things which a can't figure out
1) be able to set a default column width for the different colums (i figured out how to do this with a table from a SQL-server but not with the XML data)
2) be able to filter the data in the datagrid. (Also know how to do this with SQL-table)
Can someone please give me example code, links or advice to solve this
Thx in advance
I am a newbie to VB.net so be kind to me.
I'm trying to create a program that can work without any database backend.
So i created a xml-file throug Access 2003 containing the data.
I can fill a datagrid on a form use the following code
Code:
Dim ds As New DataSet
ds.ReadXml("..\Spareparts.xml")
dgSpareParts.SetDataBinding(ds, "Qry_Overzicht_Spare_Parts")
Now i want to do a couple of things which a can't figure out
1) be able to set a default column width for the different colums (i figured out how to do this with a table from a SQL-server but not with the XML data)
2) be able to filter the data in the datagrid. (Also know how to do this with SQL-table)
Can someone please give me example code, links or advice to solve this
Thx in advance