2 quick questions
I have a database (SQLExpress) to populate my web page with some products.
Some times, I want to perform an if else function to the result (which seems to be very difficult in asp.net for some reason - compared to asp.classic).
The code works fine
Expand|Select|Wrap|Line Numbers
- string PN = (Convert.ToString(ds.Tables["B2B"].Rows[0]["PartNumber"]));
Second question is:
Expand|Select|Wrap|Line Numbers
- ds.Tables["B2B"].Rows.Count;
Thanks
Dave