Click here to Skip to main content
15,890,438 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow can I force a user to enter a string with characters only with no integer from a text box? Pin
waner michaud14-Aug-09 6:45
waner michaud14-Aug-09 6:45 
AnswerRe: How can I force a user to enter a string with characters only with no integer from a text box? Pin
Dave Kreskowiak14-Aug-09 7:42
mveDave Kreskowiak14-Aug-09 7:42 
AnswerRe: How can I force a user to enter a string with characters only with no integer from a text box? Pin
waner michaud14-Aug-09 11:41
waner michaud14-Aug-09 11:41 
GeneralRe: How can I force a user to enter a string with characters only with no integer from a text box? Pin
Luc Pattyn14-Aug-09 12:38
sitebuilderLuc Pattyn14-Aug-09 12:38 
Questionpassing values from a windows form to a crystal report Pin
myinstincts14-Aug-09 0:12
myinstincts14-Aug-09 0:12 
AnswerRe: passing values from a windows form to a crystal report Pin
Johan Hakkesteegt14-Aug-09 0:41
Johan Hakkesteegt14-Aug-09 0:41 
GeneralRe: passing values from a windows form to a crystal report Pin
myinstincts14-Aug-09 1:57
myinstincts14-Aug-09 1:57 
GeneralRe: passing values from a windows form to a crystal report Pin
Johan Hakkesteegt14-Aug-09 2:10
Johan Hakkesteegt14-Aug-09 2:10 
The question is, how do you retrieve the data from the database? I assume you use a dataset or datatable. So somewhere in your code there is line that looks a little like this:
DataGrid1.DataSource = DataSet1

The dataset / datatable is an object (in memory) that actually contains all the data. The datagrid is really just a window on that data, it does not actually contain the data itself.
That means you can simply loop through all the rows in the dataset / datatable and build your report when the user pushes the print button (or whatever).

myinstincts wrote:
i would also like to store those reports as seperate file in the drive.i dont know whether this is possible in vb.net

Yes, this is possible in vb.net. Look into System.IO and the File method.

My advice is free, and you may get what you paid for.

GeneralRe: passing values from a windows form to a crystal report Pin
myinstincts14-Aug-09 2:17
myinstincts14-Aug-09 2:17 
GeneralRe: passing values from a windows form to a crystal report Pin
Johan Hakkesteegt14-Aug-09 2:43
Johan Hakkesteegt14-Aug-09 2:43 
GeneralRe: passing values from a windows form to a crystal report Pin
myinstincts14-Aug-09 2:49
myinstincts14-Aug-09 2:49 
AnswerRe: passing values from a windows form to a crystal report Pin
Anubhava Dimri17-Aug-09 0:07
Anubhava Dimri17-Aug-09 0:07 
QuestionBring to Front and Send to back Pin
Anubhava Dimri13-Aug-09 23:55
Anubhava Dimri13-Aug-09 23:55 
AnswerRe: Bring to Front and Send to back Pin
0x3c014-Aug-09 0:17
0x3c014-Aug-09 0:17 
GeneralRe: Bring to Front and Send to back Pin
Coding C#14-Aug-09 2:50
Coding C#14-Aug-09 2:50 
GeneralRe: Bring to Front and Send to back Pin
Anubhava Dimri16-Aug-09 23:48
Anubhava Dimri16-Aug-09 23:48 
QuestionMyObject = New Object memory use Pin
Johan Hakkesteegt13-Aug-09 22:22
Johan Hakkesteegt13-Aug-09 22:22 
AnswerRe: MyObject = New Object memory use Pin
Luc Pattyn14-Aug-09 0:57
sitebuilderLuc Pattyn14-Aug-09 0:57 
GeneralRe: MyObject = New Object memory use Pin
Johan Hakkesteegt14-Aug-09 1:43
Johan Hakkesteegt14-Aug-09 1:43 
GeneralRe: MyObject = New Object memory use Pin
Luc Pattyn14-Aug-09 1:50
sitebuilderLuc Pattyn14-Aug-09 1:50 
GeneralRe: MyObject = New Object memory use Pin
Johan Hakkesteegt14-Aug-09 2:13
Johan Hakkesteegt14-Aug-09 2:13 
GeneralRe: MyObject = New Object memory use Pin
Luc Pattyn14-Aug-09 2:20
sitebuilderLuc Pattyn14-Aug-09 2:20 
QuestionHow can I bring Page x from a TabControl? Pin
waner michaud13-Aug-09 11:03
waner michaud13-Aug-09 11:03 
AnswerRe: How can I bring Page x from a TabControl? [modified] Pin
Henry Minute13-Aug-09 11:24
Henry Minute13-Aug-09 11:24 
GeneralRe: How can I bring Page x from a TabControl? Pin
Luc Pattyn13-Aug-09 11:40
sitebuilderLuc Pattyn13-Aug-09 11:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.