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. Able to connect to mobile
Unable to send me

View Tutorial          By: Prashant at 2011-04-24 01:16:27

2. What is SMSC and CSCA number? , in which JAVA file
View Tutorial          By: sampath at 2009-06-19 07:01:31

3. can anyone please provide me how to map the column
View Tutorial          By: Gaurav Balyan at 2012-01-03 11:09:26

4. Many thanks. I had that problem and your code solv
View Tutorial          By: Gianni at 2009-05-06 10:02:14

5. Sat Apr 23 10:44:14 IST 2011:Sender:*** time out a
View Tutorial          By: sasivarnan at 2011-04-23 01:17:18

6. Is there any way to show the dynamic bean value in
View Tutorial          By: Bala at 2008-05-04 01:40:18

7. Thank you very much for such a nice topic
View Tutorial          By: CHANDAN at 2012-11-01 04:40:02

8. nice!!!!
View Tutorial          By: svk at 2013-01-17 19:59:05

9. this is good arraylist
View Tutorial          By: shaffy at 2010-07-31 04:25:17

10. it is unfair to leave this portal without thanking
View Tutorial          By: anil kumar at 2009-12-30 23:40:25