Comment on Tutorial - How to export from DataGridView to excel using VB.net By Issac



Comment Added by : akash

Comment Added at : 2011-12-22 07:28:05

Comment on Tutorial : How to export from DataGridView to excel using VB.net By Issac
hi,
while exporting data i am getting error on below statement saying "Null Reference Exception was unhandled"

xlWorkSheet.Cells(i + 1, j + 1) =_ DataGridView1(j,i).Value.ToString()

help me outta this.......


View Tutorial



Subscribe to Tutorials

Related Tutorials

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

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. THANKS you for having this site. it help me a lot
View Tutorial          By: fermilita at 2012-01-04 11:45:53

2. please give example code with defined variable.
View Tutorial          By: shajjad at 2011-02-13 20:56:09

3. This one is helpful. Thanks

Is th

View Tutorial          By: Umesh Aawte at 2009-06-23 06:43:55

4. Si AIZA DIN< DI MARUNONG MAGTURO
View Tutorial          By: Agnes at 2010-06-25 22:34:29

5. How to return values when there may be muliple row
View Tutorial          By: asd at 2013-11-22 01:24:47

6. We need an example to tokenize a xml file
View Tutorial          By: Todo at 2010-03-03 03:27:01

7. sir , i am new in j2me and i want to learn more s
View Tutorial          By: vipin Luhach at 2012-01-19 06:43:27

8. Can any one say how to send a message to a particu
View Tutorial          By: Sankar guru.P at 2012-01-05 07:43:44

9. HI.....

javax.comm.NoSuchPortExcept

View Tutorial          By: RAHUL at 2010-12-28 22:59:41

10. This is the best example for beginners. After read
View Tutorial          By: BB at 2014-05-20 05:24:09