Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
here is the coding for creating a table with book name, author name, isbn , tile etc,........

in the below coding i need the insert , retrieve, and update coding as vb.net coding



VB
DataGridView1.ColumnCount = 4
        DataGridView1.ColumnHeadersVisible = True
        Dim colhdrstyle As New DataGridViewCellStyle
        DataGridView1.ColumnHeadersDefaultCellStyle = colhdrstyle
 
        DataGridView1.Columns(0).Name = "bookname"
        DataGridView1.Columns(1).Name = "isbn num"
        DataGridView1.Columns(2).Name = "title"
        DataGridView1.Columns(3).Name = "author"
Posted
Comments
Prerak Patel 9-Nov-11 23:36pm    
What did you try so far. I see that there were many answers to your previous question regarding this.
ANANTH P 10-Nov-11 0:01am    
for the past days myself tried for table creation in vb.net . At last now i got an idea in datagridview with above coding i had posted before. now i need the items in the table to be stored to the database

1 solution

Hi
Ananth,
Please go throught the below url u wil get answer to your quiries.
http://www.shotdev.com/aspnet/aspnet-vbnet-gridview/aspnet-vbnet-gridview-rowcommand/

Rgeards,
shashikant
 
Share this answer
 
v2
Comments
ANANTH P 10-Nov-11 0:44am    
thank you

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900