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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Sep 22, 2013, 11:54 PM EDT
if there is no data the column will not show. but you can show the headers and some message.
try this:
venkata kumarRank #5,034 · 314 reputationPosted Sep 22, 2013, 10:53 PM EDT
that is not problem with connection.
did you placed grid view in your form.
check the gridview name is gvemployeedetails or not.
Vignesh KumarRank #1,579 · 1K reputationPosted Sep 22, 2013, 11:01 PM EDT
I checked the gridview name and it is gvemployeedetails.
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Sep 22, 2013, 11:03 PM EDT
Vignesh KumarRank #1,579 · 1K reputationPosted Sep 22, 2013, 11:05 PM EDT
Here is my code attached
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Sep 22, 2013, 11:22 PM EDT
i checked your code its correct. plz check this sample which i copied from your code.
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Sep 22, 2013, 11:38 PM EDT
Vignesh KumarRank #1,579 · 1K reputationPosted Sep 22, 2013, 11:40 PM EDT
Vignesh KumarRank #1,579 · 1K reputationPosted Sep 23, 2013, 12:33 AM EDT