Paru
posted
71 posts
since
Jun 18, 2009
from
|
|
Re: datatable select method with boolean value
|
|
|
|
|
|
|
|
|
|
|
use a for loop
sample
DataRow[] dr ; string id ="ROMEY";// "Field with id ROMEY has more than one records found string sel ="customerid='"+ id + "'"; dr = ds.Tables [0].Select (sel); int i; for(i=0;dr.read();i++) { Response.Write (dr[i]["Orderid"].ToString() + "\t" + dr[i]["Customerid"].ToString() + "\t" + dr[i]["Freight"].ToString () + " ");
Thanks
Paru
-- Mark if it helps
|
|
|
|
|
|
Koteswararao Mallisetti
posted
247 posts
since
Dec 15, 2009
from
hyderabad
|
|
Re: datatable select method with boolean value
|
|
|
|
|
|
|
|
|
|
|
IT IS NOT A ORDINARY STRING IT IS A BOOLEAN VALUE PLEASE READ THE QUESTION THEN REPLY ME THE FILER IS ON BOOLEAN VALUE COLUMN SELECT IS THE COLUMN NAME IN MY TABLE FOR THAT I USE THE SELECT=TRUE IN THE FILTER PROPERTY
|
|
|
|
|
|