how to add rows in gridview using c#asp.netajeet verma11yAsked Jul 9, 2015, 4:39 AM919.NETI want to add rows with data in gridview in asp.net 4.5 on ADD Button click event
ajeet verma11y agoPosted Jul 9, 2015, 5:21 AMSorry, this is actually every time biding with datasource. so, i don't want to bind every time
Naren Kumar Kumaresan11y agoPosted Jul 9, 2015, 5:15 AM Refer this link http://www.aspsnippets.com/Articles/Simple-Insert-Select-Edit-Update-and-Delete-in-ASPNet-GridView-control.aspx this method u write select statement or insert any thing u do this event protected void AddNewCustomer(object sender, EventArgs e) {}
ajeet verma11y agoPosted Jul 9, 2015, 5:04 AMi don't want to bind every time gridview from datasource because it will take time
ajeet verma11y agoPosted Jul 9, 2015, 5:03 AMI have a textbox and add button after the Add button click "Select data from sql table where id=textbox" and result will be add in grid view,on every clicks of Add button it will select data from sql table and add into gridview please reply, thanks.........
Naren Kumar Kumaresan11y agoPosted Jul 9, 2015, 4:46 AM refer this link http://www.aspsnippets.com/Articles/Simple-Insert-Select-Edit-Update-and-Delete-in-ASPNet-GridView-control.aspx
ajeet vermaPosted Jul 9, 2015, 5:21 AM
Naren Kumar KumaresanPosted Jul 9, 2015, 5:15 AM
{
}ajeet vermaPosted Jul 9, 2015, 5:04 AM
ajeet vermaPosted Jul 9, 2015, 5:03 AM
Naren Kumar KumaresanPosted Jul 9, 2015, 4:46 AM
Manohar GovaPosted Jul 9, 2015, 4:45 AM