Devexpress gridview rowupdating error
Then i want the user to be able to edit any row in the gridview, so i did this: Now I know i hav to use Row Editing event, Row Updating Event, Row Canceling Edit event to make everything work. I hoping someone could point me in the right direction on how to use these 3 events, what syntax/coding should i use to handle these 3 events. I connect to my database and gave it a SELECT query and it works fine. Grid View Edit Event Args) Handles GV_Student Record.
When you have the instance of the Gird View’s row, you can use the Find Control method to locate the File Upload control. Find Control("new File"), File Upload) Dim old File As label = CType(Noticias.
Command Text = "UPDATE " & str Table Name & " SET e Date='" & e Date & "', e Status='" & e Status & "' command. gurubhullar Hi, Data Set/Data Table in which you have get the data from database.
NET or vise versa: Dear Shailesh soni thank you for your prompt reply. May i no what is that and how to define it (like where should it be define, in page load or any of the 3 events) Thank you.
Find Control("File Upload File Attachment"), File Upload) If f File Attachment. To create a parameter that will be used by your Update Command, you can add the parameter to the data-source’s Update Parameters collection. Default Value = old End If End Sub Hope this helps...
To pass the filename that is uploaded by the File Upload control to your data-source control’s Update Command, you need to create a parameter for the filename.