Microsoft
Software
Hardware
Network
Question : Deleting A Row from a DataTable based on ID column
Hi All,
I have a DataTable stored within a Session variable like so..
DataTable myDt = new DataTable();
myDt = createTempDatesTable();
Session["TempDataTable"] = myDt;
The DataTable has a column called 'ID' which stored string values.
Please could anyone show me how to delete a row from my DataTable based on a value within the ID column.?
Answer : Deleting A Row from a DataTable based on ID column
If ID column is the primary column, then you can use like:
DataRow foundRow = myDt.Rows.Find("idValue");
foundRow.Delete();
Random Solutions
Where can I get Java Runtime Environment (JRE) Version 1.6.0_5. The 32-bit JRE 1.6.0_5
Change file associations thru GPO
code help needed
What is the SQL split command?
WWW. does not point to site
Problem with contacts in Exchange....
Help formulating pointcut for methods implementing annotated interface methods
Jquery simple tooltip - code example, not plugin
Hosted 2008 R2 Branche Cache client OS requirements?
Location of EFS Certificates in an AD environment