To use rowupdating

User Name; Main Data Load(); } protected void Main Grid View_Row Data Bound(object sender, Grid View Row Event Args e) { //Main Grid View. Connection Strings["Daily Readiness TESTConnection String"].

Once, you got the values you just need to send them to the database. Data Bind(); } protected void gv Categories_Row Editing(object sender, Grid View Edit Event Args e) { gv Categories. New Edit Index; Bind Data(); } protected void gv Categories_Row Updating(object sender, Grid View Update Event Args e) { // get the information int row Index = e.

HTML CODE: C# Code Behind: private void Bind Data() { Sql Connection my Connection = new Sql Connection("Server=localhost; Database=Northwind; Trusted_Connection=true"); Sql Data Adapter ad = new Sql Data Adapter("SELECT * FROM Categories", my Connection); Data Set ds = new Data Set(); ad.

Text; // Now send the values to the databae and update it!

Find Control("txt Category Description") as Text Box).

Data; namespace Daily Readiness { public partial class Web Form1 : System. Page { protected void Page_Load(object sender, Event Args e) { //Label1.

terrem43.ru

44 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>