I managed to get a list of users from my DB and show them on the gridview. Next I wanted to add Edit, Select and Delete. I set the AutoGenerate options for these buttons. I then did what I believe should hook up the events as shown in the code attached I didn't include the actual event handlers for brevity I would appreciate any help given.
HookEvents ; this. DAL ; dal. GetUsers ; this. Tables[0]; this. Bob Learned. Most Valuable Expert The Most Valuable Expert award recognizes technology experts who passionately share their knowledge with the community, demonstrate the core values of this platform, and go the extra mile in all aspects of their contributions. Most Points The Distinguished Expert awards are presented to the top veteran and rookie experts to earn the most points in the top 50 topics. ToString ; txthd. ToString ; txtsal.
ToString ; txtin. ToString ; txtarea. ToString ; txtskill. ToString ; txtedu. ToString ; txtcon. ToString ; imgsub. Posted Jan am Member Add your solution here. OK Paste as. Treat my content as plain text, not as HTML. Existing Members Sign in to your account.
This email is in use. Do you need your password? Submit your solution! When answering a question please: Read the question carefully. Understand that English isn't everyone's first language so be lenient of bad spelling and grammar. So far so good. The datagrid is configured to edit and delete records this works fine. I notice after I insert a new employee, I will receive a The GridView1 ' fired event PageIndexChanging which wasn't handled.
Can anyone please think of a reason why this is Web Forms. Any idea guys? Thank you Kenneth. Required Invalid Email Address. Security code:. Required Invalid security code. I declare, I accept the site's Privacy Policy.
Add Comment. Disclaimer : The code samples and API available at www. You are free to use it for commercial as well as non-commercial use at your own risk, but you cannot use it for posting on blogs or other tutorial websites similar to www.
All the code samples and API provided by the authors are solely their creation and neither the author nor the site are responsible if it does not work as intended. I agree to the above terms. Download Required. View Demo. What our readers say. Error Details. This site makes use of Cookies.
0コメント