using update command in c#.net /ado through coding

Go4Expert Member
21Jun2007,11:00   #1
manojkumarmaithil's Avatar
while I am using datagrid through coding and tryin to use update command this show exception .it show tabelmapping is not difine so please tell me how to void this exception.I AM GRATFUL TO you if any body tell me.
Team Leader
22Jun2007,07:23   #2
pradeep's Avatar
Please post your code, so that someone can help you out!
Go4Expert Founder
22Jun2007,09:15   #3
shabbir's Avatar
Quote:
Originally Posted by pradeep
Please post your code, so that someone can help you out!
Post the necessary code and not the whole bunch of it.
Newbie Member
3Jun2010,13:27   #4
SNK111's Avatar
Check this article ( shahriarnk.com/Shahriar-N-K-Research-Embedding-SQL-in-C-Sharp-Java.html ) for details on how to connect to SQL Server database from C#.NET database applications as well as Java database applications. It also describes how to pass embedded SQL queries (INSERT, UPDATE, DELETE), calling stored procedures, pass parameters etc.
Banned
28Jan2011,15:45   #5
virender.ets's Avatar
If you are seeing the mentioned exception means that you are giving some mistake in database connectivity.Just post you code for database connectivity and your update command so that I can trace the error.
Contributor
26Feb2011,18:02   #6
shyam_oec's Avatar
Quote:
Originally Posted by manojkumarmaithil View Post
while I am using datagrid through coding and tryin to use update command this show exception .it show tabelmapping is not difine so please tell me how to void this exception.I AM GRATFUL TO you if any body tell me.
Please visit this link Table Mapping in ADO.NET ,this may help.But can you share your code with us ?