VB.NET -Web App:更新Datagrid的问题 [英] VB.NET -Web App: Problems Updating Datagrid

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

问题描述

大家好..

我正在尝试在我的webform中更新我的数据网格...但它没有得到更新......虽然在数据库中删除了< null>并插入一个空白字段....它没有输入哪个键入...可以sombody plz帮助我在这...我迫切需要帮助

我在vb中发布代码。 webform以及html的网

展开 | 选择 | Wrap | 行号

解决方案


大家好..

我正在尝试在我的webform中更新我的数据网格......但它没有得到更新......虽然在数据库中删除了< null>并插入一个空白字段....它没有输入哪个键入...可以sombody plz帮助我在这...我迫切需要帮助

我在vb中发布代码。 netform for the webform以及html ...



您好Tanya,

将来您可以在[code]中发布您的代码]标签。

(例如你输入[code = vbnet]''...这里粘贴代码... [/ code]如果你想发布vb.net代码)

这让每个人都更容易。


您是否有机会在PageLoad期间将DataGrid绑定到DataSource?


< blockquote>


您好Tanya,

将来您可以在[code]标签中发布您的代码。

(For例如你会输入[code = vbnet]''...在这里粘贴代码... [/ code]如果你想发布vb.net代码的话)

这只会让它更容易每个人。


你是否有机会将你的DataGrid绑定到它PageLoad期间的DataSource?



是的,我是否要你给你页面加载事件的代码?


我认为这部分您的代码中缺少

DataGrid.DataSource


hi all..
I am trying to update my datagrid in my webform...but its not getting updated..though in the database it removing the <null> and inserting a blank field....its not taking the input which m typing...can sombody plz help me out in this..i need help urgently
I am posting the code in vb.net for the webform as well as html

Expand|Select|Wrap|Line Numbers

解决方案

hi all..
I am trying to update my datagrid in my webform...but its not getting updated..though in the database it removing the <null> and inserting a blank field....its not taking the input which m typing...can sombody plz help me out in this..i need help urgently
I am posting the code in vb.net for the webform as well as html...

Hi Tanya,
In the future could you please post your code within [code] tags.
(For example you''d type [code=vbnet]''...paste code here...[ /code] if you wanted to post vb.net code)
This just makes it easier for everyone.

Are you by any chance binding your DataGrid to its DataSource during PageLoad?


Hi Tanya,
In the future could you please post your code within [code] tags.
(For example you''d type [code=vbnet]''...paste code here...[ /code] if you wanted to post vb.net code)
This just makes it easier for everyone.

Are you by any chance binding your DataGrid to its DataSource during PageLoad?


yes i am do u want me to give u the code for page load event as well?


I think this part is missing in your code
DataGrid.DataSource


这篇关于VB.NET -Web App:更新Datagrid的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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