Updating gridview programatically Live cam por
Add(farmername); Bound Field villagename = new Bound Field(); villagename. Add(villagename); Bound Field feedtype = new Bound Field(); feedtype. Row Editing = new Grid View Edit Event Handler(gv_Row Editing); gv. event is raised when a row's Update button is clicked, but before the Grid View control updates the row.
How can I set a row in a gridview programatically to edit mode (rather than having to have the user click the edit row command), so the fields can be edited and the Update and Cancel buttons display instead of Edit? Hi, You can do this by directly assign the row index to property Edit Index: protected void Button1_Click(object sender, Event Args e) Sincerely, Walter Wang (email@example.com, remove 'online.') Microsoft Online Community Support ================================================== Get notification to my posts through email? If you are using Outlook Express, please make sure you clear the check box "Tools/Options/Read: Get 300 headers at a time" to see your reply promptly. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. By joining today you can post your own programming questions, respond to other developers questions, and eliminate the ads that are displayed to guests. I'm designing a gridview-based UI that I would like to behave like this (this is in a context roughly like that of a structured e-discussion): After the user selects a record, and then specifies an action from a menu item: == another record (identified by an algorithm which uses the ID of the first record), becomes "updatable", with the cursor positioned in it's "main text" field (and the "main text" field is in a template in a column). NET 2.0 Basics section of the Wrox Programmer to Programmer discussions.The offering is not appropriate for situations that require urgent, real-time or phone-based interactions or complex project analysis and dump analysis issues.Issues of this nature are best handled working with a dedicated Microsoft Support Engineer by contacting Microsoft Customer Support Services (CSS) at