Ich habe ein Problem beim setzen des Primary-Keys einer Tabelle. Hab das so:
((DataSet)Session["dataSet"]).Tables["tbl_categories"].PrimaryKey=((DataSet) Session["dataSet"]).Tables["tbl_categories"].Columns[0];
c:\inetpub\wwwroot\factsheets\ProductSheet.aspx.cs(67): Cannot implicitly convert type 'System.Data.DataColumn' to 'System.Data.DataColumn[]'
Wie l�st man das?
PrimaryKey ist eine Eigenschaft die ein Array erwartet, ergo:
.... = new DataColumn[] {....};
Chris
_______________________________________________ Asp.net Mailingliste, Postings senden an: [EMAIL PROTECTED] An-/Abmeldung und Suchfunktion unter: http://www.glengamoi.com/mailman/listinfo/asp.net
