Pravin Donga
I want update row in datatable without using any loop
By Pravin Donga in ASP.NET on Jun 03 2009
  • rahul dadge
    Dec, 2015 23

    datatable.Select(string.Format("[lineNo]='{0}' and [Position]>='{1}' ", lineNo, Position)).ToList().ForEach(r => r["Linetext"] ="Sample Text" );

    • 0
  • Murali Krishna Ravi
    Jun, 2009 8

    hi praveen Donga
    u place a sqldata source control and gridview control on to webpage .then u go to grid view control properties we have a property datasource id=sqldata source control. then configure the sqldatasource control by giving table. and then u use the update statement by clicking on update tab  u use the following syntax
    <update tablename set  column name=value,columnname=value where columnname=value>

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS