Hi,
I get this error in the gridview when I run. Is there any problem with the connection?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sanjeeb LenkaPosted Sep 23, 2013, 3:54 AM
if there is no data the column will not show. but you can show the headers and some message.
try this:
Vignesh KumarPosted Sep 23, 2013, 4:33 AM
Vignesh KumarPosted Sep 23, 2013, 3:40 AM
Sanjeeb LenkaPosted Sep 23, 2013, 3:38 AM
Sanjeeb LenkaPosted Sep 23, 2013, 3:22 AM
i checked your code its correct. plz check this sample which i copied from your code.
Vignesh KumarPosted Sep 23, 2013, 3:05 AM
Here is my code attached
Sanjeeb LenkaPosted Sep 23, 2013, 3:03 AM
Vignesh KumarPosted Sep 23, 2013, 3:01 AM
I checked the gridview name and it is gvemployeedetails.
venkata kumarPosted Sep 23, 2013, 2:53 AM
that is not problem with connection.
did you placed grid view in your form.
check the gridview name is gvemployeedetails or not.