帮我解决这个错误 [英] Help me out with this error
本文介绍了帮我解决这个错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
数据源'SqlDataSource1'不支持更新,除非指定了UpdateCommand......(错误)
i想添加编辑,更新,删除gridview中的选项
"Updating is not supported by data source 'SqlDataSource1' unless UpdateCommand is specified"......(error)
i want to add edit,update,delete option in gridview
推荐答案
参考此链接..
1)数据源'SqlDataSource1'不支持更新,除非指定了UpdateCommand
2 )数据源不支持更新/插入
3)除非在asp.net中指定了UpdateCommand,否则数据源'SqlDataSource1'不支持更新。
Refer this links..
1)Updating is not supported by data source 'SqlDataSource1' unless UpdateCommand is specified
2)Updating/Inserting is not supported by data source
3)Updating is not supported by data source 'SqlDataSource1' unless UpdateCommand is specified in asp.net.
错误消息非常具体:您还没有设置UPD ATE命令进入UpdateCommand属性。
https://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqldataadapter.updatecommand(v = vs.110)的.aspx [ ^ ]
The error message is pretty specific: you haven't set an UPDATE command into the UpdateCommand property.
https://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqldataadapter.updatecommand(v=vs.110).aspx[^]
这篇关于帮我解决这个错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文