gever 0 Newbie Poster

find this link http://vb.net-informations.com/datagridview/vb.net_datagridview_tutorial.htm datagridview in vb.net will help you most of the problems related to datagridview

gever 0 Newbie Poster

adatapost - link is not working ..

you have to read the image in a byte array

Dim content As Byte() = ImageToStream(fName)

and then insert the image in database.

you can find the full source code from below link

http://net-informations.com/vbprj/dataset/insert-image.htm

gever.

gever 0 Newbie Poster

You can use OLEDB for read and write to Excel File

http://vb.net-informations.com/excel-2007/vb.net_excel_oledb.htm

Gever

gever 0 Newbie Poster
gever 0 Newbie Poster

read the data to a gridview and write it to the excel table.

http://vb.net-informations.com/excel-2007/vb.net_export_from_database_to_excel.htm

it may help u.

gever 0 Newbie Poster

go through the following link about connect excel file through vb.net.

http://vb.net-informations.com/excel-2007/vb.net_excel_2007_open_file.htm

thanks.

gever 0 Newbie Poster

you can use if statements.

If [your condition here]
Your code here
ElseIf [your condition here]
Your code here
ElseIf [your condition here]
Your code here
Else
Your code Here
End If

for more follow this link

http://vb.net-informations.com/programflow/vb.net_if_else_endif.htm

gever 0 Newbie Poster

didnt find any mistakes in ur code

u just try this code

Dim CrFormatTypeOptions As New ExcelFormatOptions
            CrDiskFileDestinationOptions.DiskFileName = _
                                        "c:\crystalExport.xls"
            CrExportOptions = cryRpt.ExportOptions
            With CrExportOptions
                .ExportDestinationType = ExportDestinationType.DiskFile
                .ExportFormatType = ExportFormatType.Excel
                .DestinationOptions = CrDiskFileDestinationOptions
                .FormatOptions = CrFormatTypeOptions
            End With
            cryRpt.Export()

http://vb.net-informations.com/crystal-report/vb.net_crystal_report_export_excel.htm

gever

gever 0 Newbie Poster

It may be with your connection problem.

check this.

http://vb.net-informations.com/crystal-report/vb.net_crystal_reports_tutorials.htm

carlos

gever 0 Newbie Poster

Option Strict is prevents program from automatic variable conversions, that is implicit data type conversions

http://vb.net-informations.com/language/vb.net_option_strict.htm

http://vb.net-informations.com/language/vb.net_languagebasics_tutorials.htm

gever