在datagridview中更新 [英] updation in datagridview

查看:81
本文介绍了在datagridview中更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是使用书名,作者名,isbn,图块等创建表格的代码...

在下面的编码中,我需要将插入,检索和更新编码作为vb.net编码



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



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"

推荐答案

您好
Ananth,
请浏览以下网址,您将获得对您的查询的答案.
http://www.shotdev.com/aspnet/aspnet-vbnet-gridview /aspnet-vbnet-gridview-rowcommand/

Rgeards,
shashikant
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


这篇关于在datagridview中更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆