foreach(DataTable dt in ds.Tables)
{
foreach(DataRow dr in dt.Rows)
{
foreach(DataColumn dc in dt.Columns)
{
myList.Items.Add(dr[dc].ToString()); //processing
}
} //eof foreach2
} //eof foreach1
//copy paste http://www.codersource.net/
Revisiting C# Scripting with the Westwind.Scripting Templating Library,
Part 1
-
[image: Scripting Banner]
This is a two part series that discusses the Westwind.Scripting Template
library
-
Part 1: An introduction to Templ...
4 weeks ago
No comments:
Post a Comment
- the first minus - Comments have to be moderated because of the spammers
- the second minus - I am very lazy at moderating comments ... hardly find time ...
- the third minus - Short links are no good for security ...
- The REAL PLUS : Any critic and positive feedback is better than none, so your comments will be published sooner or later !!!!