Kanhia Lal KK

Kanhia Lal KK

  • NA
  • 26
  • 1.8k

Data fetching by using adapter

Apr 13 2011 5:42 AM
Hi:
I am using dot net 2.0 and I am working with sqlserver 2000
data is not fetching.... through datatable
int count;
adpt = new SqlDataAdapter("select * from WorkerCode where WCode='" + this.flex1.get_TextMatrix(this.count, 1) + "'",conn);
  dt = new DataTable();
  adpt.Fill(dt);
  if (this.dt.Rows.Count > 0)
  {
  // this.adodc1.Recordset.Update(2, this.flex1.get_TextMatrix(this.count, 2));
  //this.adodc1.Recordset.Update(3, this.flex1.get_TextMatrix(this.count, 3));
  //dt.Rows.Count.Equals(2,this.flex1.get_TextMatrix(this.count,2));
  //  dt.Rows.Count.Equals(3, this.flex1.get_TextMatrix(this.count, 3));
  }

anybody help me...

Answers (3)