is this supported? or do i have to create a third PK in the app only?
tia.
1. DataTable.PrimaryKey is a unique property of the datatable (i.e. there is only one primary key, and that's all. The same concept is used in the databases BTW).
2. May be you meant UniqueConstraint http://msdn2.microsoft.com/en-us/library/system.data.uniqueconstraint.aspx ?
3. This are ADO.NET things. What does this have to do with Infragistics components?
I am binding a webgrid to a sharepoint datatable and allowing the user to update a document list via the webgrid.
Let us consider the following example code:
tbl = ds.Tables.Add("Order Details");tbl.Columns.Add("OrderID", typeof(int));tbl.Columns.Add("ProductID", typeof(int));tbl.PrimaryKey = new DataColumn[ {tbl.Columns["OrderID"], tbl.Columns["ProductID"]};
... is this supported in the ultrawebgrid?
I have reviewed source samples eg. UltraWebGrid1.Bands[0].DataKeyField=dataSet11.Tables[ParentTable].PrimaryKey[0].ColumnName;
this example does not provide for multiple keys .. any thoughts?