ques: what does a dataset returns ?
-
Hi, i am new to coding in .net.i was trying to catch dataset from a function.my ques. is What does dataset returns when no rows are selected in it? also how can i use this it on right hand side of exp. in a if construct? iam coding in c#. thanks in advances.
-
Hi, i am new to coding in .net.i was trying to catch dataset from a function.my ques. is What does dataset returns when no rows are selected in it? also how can i use this it on right hand side of exp. in a if construct? iam coding in c#. thanks in advances.
It returns an empty dataset, probably with one empty table in it. It will work fine, and just render nothing.
Christian Graus - C++ MVP
-
Hi, i am new to coding in .net.i was trying to catch dataset from a function.my ques. is What does dataset returns when no rows are selected in it? also how can i use this it on right hand side of exp. in a if construct? iam coding in c#. thanks in advances.
-
If No rows in dataset it will return a empty table. Accessing the dataset table: ds.Tables[0]; ds.Tables[0].Rows[index][columnName];
hi thanks for the reply. ashu
-
It returns an empty dataset, probably with one empty table in it. It will work fine, and just render nothing.
Christian Graus - C++ MVP
thanks chris can u send me some ebooks on c#.net.
-
thanks chris can u send me some ebooks on c#.net.
No. Books cost money, go buy some.
Christian Graus - C++ MVP