The text of this article is not in this database — only its details are. Read it on the old site: Bulk Insert From ASP.NET Web Form Using C#
41 Comments
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
The text of this article is not in this database — only its details are. Read it on the old site: Bulk Insert From ASP.NET Web Form Using C#
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
Marwa YoussefPosted Mar 21, 2021, 9:45 PM
Why i have this error while everything is ok and the column name is right. " {"The given ColumnName 'Name' does not match up with any column in data source."} "
Ganga MPosted Apr 18, 2019, 12:30 AM
How to insert same record multiple time without using for loop
Sourav ParamanikPosted Jul 29, 2018, 5:20 AM
The example is great. But I need to do one thing. I want to DELETE a row in the grid GridView1 when I am adding rows in function AddNewRecordRowToGrid() . How to delete it on that time
ejaz mirzaPosted Feb 20, 2018, 12:47 AM
I have paging concept in the grid i can update page only not all the grid values
Sylvia TxyPosted Jan 4, 2018, 7:08 AM
Hi, is there a way to input duplicate product id(primary key) values?
Rana HarisPosted Dec 10, 2017, 2:06 PM
I was using your example to insert bulk data in DB. I added 800 Records in grid view and my computer got powered off/ Restarted due to some light fluctuation. is there any way to Get those 800 Records that have been added in Gridview not in Database?
Hamid KhanPosted Sep 15, 2017, 6:47 AM
How to bulk insert data in multiple tables at a time................
Hamid KhanPosted Sep 7, 2017, 4:50 AM
Very nice article........
Pauline ChanPosted Jan 31, 2016, 10:40 PM
My gridview dies not show in the web page. I didn't change anything from your codes. And also, the data table from where it is getting the data has records already
Vithal WadjePosted Sep 18, 2015, 5:18 PM
share me code
Raj TrivediPosted Sep 17, 2015, 2:16 PM
I am trying the same thing but i am stuck at a place where i have also another table where detail of customer and grandtotal of all the products are stored and i am confused how to simultaneously insert the data in master table and detail with generating Invoice no after inserting the record successfully in both table. One more thing the invoice no should be same for the detail transaction and master transaction.
Vithal WadjePosted Jan 24, 2015, 9:58 AM
sure wait for next
karthi keyanPosted Jan 23, 2015, 8:02 PM
how to clear datatable sir and also i want to know about bulk update into datatable as bulk binsert explained below
Vithal WadjePosted Jan 13, 2015, 1:08 PM
can you explain your question
karthi keyanPosted Jan 13, 2015, 7:29 AM
Default.aspx file
Vithal WadjePosted Jan 4, 2015, 2:25 AM
no such a clear method for Rows
karthi keyanPosted Jan 3, 2015, 2:47 PM
when i use gridview1.Rows.Clear() it is showing an error System.Web.UI.WebControls.GridViewRowCollection' does not contain a definition for 'Clear' and no extension method 'Clear' accepting a first argument of type 'System.Web.UI.WebControls.GridViewRowCollection' could be found (are you missing a using directive or an assembly reference?)
karthi keyanPosted Dec 17, 2014, 3:56 AM
it is updating sir but copy of same product name is updating newly i want to update in time field of existing productname
Vithal WadjePosted Dec 16, 2014, 9:50 PM
set the datetime.now function to variable from whcih you are inserting or updating records
karthi keyanPosted Dec 16, 2014, 8:50 PM
current date to already existing product name record sir
Vithal WadjePosted Dec 16, 2014, 10:23 AM
you wants to update current date or any other
karthi keyanPosted Dec 16, 2014, 8:27 AM
i fetched data from existing table and saved into another table its working fine as you referred and another question sir i want to update current date and time to same table. For eg if i type product name means automatically the product detail is fetching in the details i have to update current date and time help me sir
Vithal WadjePosted Dec 11, 2014, 11:09 AM
yes you can do it also,refer my article list and find autocomplete extender,it will help you
karthi keyanPosted Dec 11, 2014, 10:08 AM
Its working fine sir i made mistake in sql code and another one question sir i want to use only one textbox productname if i type productname means automatically the product detail has to fetch from another table in the database and has to fill in brandnamd, warranty, price in the gridview after clicking on saveproducts the data has to save in database table and also i need to clear the gridview data after clicking save products button
Vithal WadjePosted Dec 10, 2014, 10:50 AM
can you post your code
karthi keyanPosted Dec 10, 2014, 8:02 AM
database table cannot able to access is coming please i need help