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. crystal clear explanation. He's explained very nic
View Tutorial          By: jay at 2009-12-08 10:28:14

2. SMSC number is the sms center no. put the sim to a
View Tutorial          By: Java MAn at 2012-01-28 19:08:23

3. i hav d same error as sudhir has "INVALID PO
View Tutorial          By: JAY SHAH at 2011-02-14 09:33:12

4. may i have one more example
View Tutorial          By: bujii at 2015-05-08 03:04:40

5. Its of the type "Direction"...Enum type
View Tutorial          By: Avinash at 2010-10-29 04:53:35

6. Life-saving post, man!
(In my case i had II

View Tutorial          By: Julianno Jungle at 2013-06-28 18:32:03

7. Hi,
What is the process if I want to know w

View Tutorial          By: Koushik Roy at 2012-07-13 05:35:35

8. hai...
i am completed MCA am good at java.

View Tutorial          By: HEMALATHA at 2013-08-03 10:04:57

9. FYI, if you're using NetBeans, the input file shou
View Tutorial          By: pberg at 2013-03-28 17:00:16

10. HI can you send "send sms" program throg
View Tutorial          By: manav at 2010-05-09 12:54:52