Dec
17

Retrieve a field value

By Visual C# Language Forum

Hi,
I want to retrieve a field value from a dataset in C# 2008
does anybody know how can I do it?
I know below method but it does not make sence to me, I am sure there is a command for it

Thank you in Advance
Alex_00

 

//foreach (DataRow dtr in DataSetPicker_Obj.Tables[0].Rows)

 

//{

 

// foreach (DataColumn c in DataSetPicker_Obj.Tables[0].Columns)

 

// {

 

// MessageBox.Show(dtr[c.ColumnName].ToString() + " <|>" + c.ColumnName.ToString());

 

// }

 

//}

Related posts:

  1. C# using LINQ TO SQL to get data from access Hello,I am trying to use LINQ TO SQL to get...
  2. Retrieve a field value in a row. Hi.I want to create a hashtable with data from at...
  3. problem with href not loading? public void BindThumbnails() { int iColumn = 1; DataSet...
  4. checkedListBox question that still not solved hi sorry if i duplicate.... but still got no sufficient...
  5. System.InvalidOperationException: Collection was modified; enumeration operation might not execute. I developed a windows service to scan some process information...
Categories : C#, General SW Dev, The c's

Comments are closed.