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. The logo is a cup of coffee. Java is an island in
View Tutorial          By: kamal goduguluri at 2012-05-30 15:34:21

2. thank you so much. i've been fixing this problem o
View Tutorial          By: yo at 2011-06-05 13:25:37

3. Don't you just love people who all assume we use w
View Tutorial          By: Alan at 2012-08-01 09:10:26

4. vry nice example....thanx..
View Tutorial          By: rekha at 2010-09-14 11:55:38

5. hi, srinivas ... i too was having the same problem
View Tutorial          By: Ashish at 2009-04-07 06:57:31

6. Hi,i'm added the certificate to java keystore,But
View Tutorial          By: chakri at 2014-09-18 07:22:41

7. Hello,

Could you please include all

View Tutorial          By: John at 2007-12-19 04:35:54

8. does this code work with netbeans. if not can anyo
View Tutorial          By: Alton at 2010-04-02 22:36:57

9. New thread: Thread[One,5,main]
How is the s

View Tutorial          By: Venkatesh at 2013-04-21 07:06:15

10. i've run d program and its works
View Tutorial          By: okeaghala nneka at 2012-03-31 10:58:13