|
-
Aug 13th, 2009, 02:37 PM
#11
Re: SQL Datagrid updating
Rather than appending fname and lname to your SQL string, you should use parameters for them.
With the method you have used, if there are any special characters in them (such as ' in the surname O'Brien) you will get errors and/or bugs.
It is not returning the correct first name lastname.
Is e.RowIndex the right thing to use?
It could be, but I don't use .Net enough to know.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|