I have a ultragrid that i manually add column by using Me.UltraGrid1.DisplayLayout.Bands(0).Columns.Add.If i want pass data to this field how i do it?? my database data is multiple row.I already trying to use ultragrid1.Datasource = [datasource] but its failed. Its will become Example:
----------------------------------------------|ReceiveID|StockCode|ReceiveID|StockCode| ----------------------------------------------
1 0001
Hello Kelvin,
On the following link you will find helpful tutorial about different scenarios how you should bind UltraWinGrid to your DataBase and data Source
http://help.infragistics.com/doc/WinForms/2015.2/CLR4.0/?page=WinGrid_Accessing_Data.html
if you want to retrieve data from your database and does not want to use any of the described in the previous links tutorial, then you should make an SQLCommand to get your data, like on any other Windows Forms application that consume data from Database:
https://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlcommand(v=vs.110).aspx
Please let me know if you have any further questions.