I want to fill data manually ultra wingrid Ultragrid using vb.net
like
for i=1 to 10
ultragrid....(i)="1"
next i
how to do it.
________
Thank you.
I found the answer..
For i = 0 To dt.Rows.Count - 1
ugChequeDeposit.Rows(i).Cells(0).Value = "test "
ugChequeDeposit.Rows(i).Cells(1).Value = "Test 2"
Next
Like this...
___________
Thanks for all
I know how to set datasource. but i want to line by line add value. my grid have more columns & more rows. how to do it. Thanks for ur Response. but it is not clear for me.
_________
Thank you,
Hi,
The UltraWinGrid must have a DataSource in order to function. For a sample case like you have here, I recommend using the UltraDataSource component, or maybe a BindingList<T>.
BindingList<string> bindingList = new BindingList<string>(); for (int i = 0; i < 10; i++) bindingList.Add(i.ToString()); this.ultraGrid1.SetDataBinding(bindingList, null);