DataTable dtPurity = new DataTable(); dtPurity.Columns.Add("PurityID") ; dtPurity.Columns.Add("PurityRate");
DataTable dtPurity = new DataTable(); DataColumn column = dtPurity.Columns.Add("PurityID") ; dtPurity.Columns.Add("PurityRate"); dtPurity.PrimaryKey = new[] {column};
DataColumn[] keys = new DataColumn[1]; keys[0] = dtPurity.Columns["PurityID"]; dtPurity.PrimaryKey = keys;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)