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. Very good description. I was quite confused before
View Tutorial          By: Donna at 2011-07-31 03:46:05

2. import java.util.Scanner;
public class Swit

View Tutorial          By: srinath at 2013-04-28 10:17:24

3. i see that lots of people get this exception : jav
View Tutorial          By: oded at 2008-09-28 03:33:33

4. i am run code this rectify this error please some
View Tutorial          By: indiran at 2010-01-28 01:45:56

5. thanks a lot
View Tutorial          By: Uzzal biswas at 2014-11-04 02:42:54

6. thanks
View Tutorial          By: Tejaswini C at 2011-12-23 17:57:03

7. Hi puru, The syntax is substring(int startIndex, i
View Tutorial          By: Fazal at 2008-09-12 20:17:53

8. when i trying this code . i am getting this error<
View Tutorial          By: sharath at 2010-04-06 00:58:29

9. i am getting the erorr such as:::::
Error l

View Tutorial          By: supriyo at 2011-02-21 13:17:00

10. Nice stuff u guyzz are sharing
View Tutorial          By: kunal sharma at 2013-11-19 03:45:08