Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Gridview data binding

Status
Not open for further replies.

Learnerprog

Programmer
Apr 21, 2004
52
0
0
US
Hello all,
I am trying to use gridview data binding in ASP.net 2.0 using VB.net. In Grid view task- Update, Delete, Edit are not available for selection. Can anyone tell me why? your help is greatly appreciated. I am new to .net by the way. Thanks,
 
Reconfigure the Datasource and click the Advaned button. There is an option to generate Update And delete staments.
 
Jbenson,
I have tried that but the all check box are disabled.
 
then you don't have a primary key on the table. You need to add one.
 
Jbenson001,
Thanks JBenson. I will try your advice and I will let you know.
 
JBeson,
Your advice did solve my problem. I forgot to put a primary key on my table. Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top