Comment on Tutorial - Update cell data in an Excel file using OLEDB in VB.net By Issac
Comment Added by : Sagar
Comment Added at : 2011-05-12 06:47:13
Comment on Tutorial : Update cell data in an Excel file using OLEDB in VB.net By Issac
string strInsert = "Insert into [Sheet1$](F1,F2,F3,F4,F5,F6,F7,F8,F9,F10,F11,F12,F13,F14,F15,F16,F17,F18,F19,F20,F21,F22,F23,F24,F25,F26,F27,F28,F29,F30) VALUES(@F1,@F2,@F3,@F4,@F5,@F6,@F7,@F8,@F9,@F10,@F11,@F12,@F13,@F14,@F15,@F16,@F17,@F18,@F19,@F20,@F21,@F22,@F23,@F24,@F25,@F26,@F27,@F28,@F29,@F30)";
da.InsertCommand=new OleDbCommand(strInsert,con);
da.InsertCommand.Parameters.Add("@F1",OleDbType.VarChar,50,"F1");//Name
da.InsertCommand.Parameters.Add("@F2",OleDbType.Numeric,50,"F2");//Mon
da.InsertCommand.Parameters.Add("@F3",OleDbType.VarChar,50,"F3");
da.InsertCommand.Parameters.Add("@F4",OleDbType.VarChar,50,"F4");
da.Update(ds, "[Sheet1$]");
View Tutorial
- Data Science
- Android
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
categories
Related Tutorials
Java program to get location meta data from an image
Program using concept of byte long short and int in java
Update contents of a file within a jar file
Tomcat and httpd configured in port 8080 and 80
Count number of vowels, consonants and digits in a String in Java
Student marks calculation program in Java
Calculate gross salary in Java
Calculate average sale of the week in Java
Vector in Java - Sample Program
Archived Comments
1. @Srini
Hi Srini, I can answer your
View Tutorial By: Sudev Wilson at 2015-04-08 12:23:33
2. hey usharadha and all other friends...i hv taken a
View Tutorial By: abdur at 2012-02-03 15:56:10
3. You should give more specification on exactly whe
View Tutorial By: Abhijit at 2013-03-09 20:14:21
4. Thanks to the author, it was really a good tutoria
View Tutorial By: Ashok Kumar at 2010-04-29 05:54:47
5. i want url full form
View Tutorial By: arun at 2010-12-10 03:33:49
6. please help me on "why subclass of stack is
View Tutorial By: mahendra at 2012-12-15 03:39:22
7. i am a bca student. i want to know more about garb
View Tutorial By: ahana at 2011-06-26 11:02:36
8. Hi, I implemented those project in my NetBeans, cr
View Tutorial By: Leshqo at 2008-11-14 07:09:13
9. Hi... it would be good if someone could send the r
View Tutorial By: deb at 2008-02-20 11:36:51
10. i Want Struts Full Details with
Word forma
View Tutorial By: Kannan.R at 2007-10-04 00:40:27