S
Steve
Hi know this is a simple question but i've looked at a number of
examples and all have used data binding I'm just trying to manually
for a test do the following
header1 text1 Headerw text2
text1 text2
i've tried this
DataGrid1.Columns(0).HeaderText = "Headter text1"
DataGrid1.Columns(1).HeaderText = "Headter text2"
then tried to add the row text
DataGrid1.Items.Item(0).DataItem = "text1"
DataGrid1.Items.Item(1).DataItem = "text2"
Neither works could someone show me so really basic code here
MY head hurts
Thanks
Steve
examples and all have used data binding I'm just trying to manually
for a test do the following
header1 text1 Headerw text2
text1 text2
i've tried this
DataGrid1.Columns(0).HeaderText = "Headter text1"
DataGrid1.Columns(1).HeaderText = "Headter text2"
then tried to add the row text
DataGrid1.Items.Item(0).DataItem = "text1"
DataGrid1.Items.Item(1).DataItem = "text2"
Neither works could someone show me so really basic code here
MY head hurts
Thanks
Steve