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

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

Java program to check if user input is an even number

Archived Comments

1. one have to store .wav file in res folder of your
View Tutorial          By: swetha at 2013-06-14 06:47:57

2. Dude how did you used out.print() method it is giv
View Tutorial          By: Hardik at 2013-02-18 15:37:09

3. Simpler example:

import java.io.*;

View Tutorial          By: Joseph Harner at 2011-12-04 23:20:48

4. simple and clear..
View Tutorial          By: sudhesh at 2011-12-22 04:05:14

5. well no one answered , i figured it out yesterday
View Tutorial          By: oded at 2008-09-29 00:32:16

6. Thanks for the post !
View Tutorial          By: percy at 2011-11-24 08:56:23

7. What kind of elements can be stored in arraylist ?
View Tutorial          By: Himanshu at 2009-09-17 00:00:41

8. nice examples,but i have one problem in my project
View Tutorial          By: swati at 2015-04-30 10:48:13

9. it is really BEST answer of my question.
MR

View Tutorial          By: Ramesh genwa at 2010-09-09 07:15:37

10. Hi
I can compile it
root$ javac -cp

View Tutorial          By: Tebogo Modiselle at 2014-10-31 08:47:09