Click here to Skip to main content
15,916,435 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Code in vb.net using asp.net Pin
Johan Hakkesteegt4-Feb-09 22:11
Johan Hakkesteegt4-Feb-09 22:11 
Questioncheck my code..TableLayoutPanel in vb.net Pin
dilipmca044-Feb-09 17:31
dilipmca044-Feb-09 17:31 
AnswerRe: check my code..TableLayoutPanel in vb.net Pin
Dave Kreskowiak5-Feb-09 2:18
mveDave Kreskowiak5-Feb-09 2:18 
GeneralRe: check my code..TableLayoutPanel in vb.net Pin
EliottA5-Feb-09 3:29
EliottA5-Feb-09 3:29 
GeneralRe: check my code..TableLayoutPanel in vb.net Pin
Dave Kreskowiak5-Feb-09 9:00
mveDave Kreskowiak5-Feb-09 9:00 
RantRe: check my code..TableLayoutPanel in vb.net Pin
EliottA5-Feb-09 9:04
EliottA5-Feb-09 9:04 
QuestionXML issues Pin
StuBaum4-Feb-09 15:03
StuBaum4-Feb-09 15:03 
AnswerRe: XML issues Pin
Johan Hakkesteegt5-Feb-09 0:12
Johan Hakkesteegt5-Feb-09 0:12 
GeneralRe: XML issues Pin
StuBaum5-Feb-09 2:54
StuBaum5-Feb-09 2:54 
GeneralRe: XML issues Pin
Johan Hakkesteegt5-Feb-09 3:08
Johan Hakkesteegt5-Feb-09 3:08 
GeneralRe: XML issues Pin
StuBaum5-Feb-09 3:31
StuBaum5-Feb-09 3:31 
GeneralRe: XML issues Pin
Johan Hakkesteegt5-Feb-09 20:23
Johan Hakkesteegt5-Feb-09 20:23 
GeneralRe: XML issues Pin
StuBaum6-Feb-09 2:25
StuBaum6-Feb-09 2:25 
GeneralRe: XML issues Pin
StuBaum6-Feb-09 2:29
StuBaum6-Feb-09 2:29 
GeneralRe: XML issues Pin
Johan Hakkesteegt6-Feb-09 3:26
Johan Hakkesteegt6-Feb-09 3:26 
GeneralRe: XML issues Pin
StuBaum6-Feb-09 8:19
StuBaum6-Feb-09 8:19 
QuestionDelegates Pin
εїзεїзεїз4-Feb-09 3:49
εїзεїзεїз4-Feb-09 3:49 
AnswerRe: Delegates Pin
Christian Graus4-Feb-09 9:26
protectorChristian Graus4-Feb-09 9:26 
GeneralRe: Delegates Pin
εїзεїзεїз4-Feb-09 18:45
εїзεїзεїз4-Feb-09 18:45 
QuestionPopulate a Treeview from Database in VB6.0 Pin
kshincsk4-Feb-09 2:02
kshincsk4-Feb-09 2:02 
AnswerRe: Populate a Treeview from Database in VB6.0 Pin
Christian Graus4-Feb-09 9:26
protectorChristian Graus4-Feb-09 9:26 
Questionvs 2005 , vb.net Pin
hrishiS3-Feb-09 23:34
hrishiS3-Feb-09 23:34 
AnswerRe: vs 2005 , vb.net Pin
Rupesh Kumar Swami3-Feb-09 23:38
Rupesh Kumar Swami3-Feb-09 23:38 
GeneralRe: vs 2005 , vb.net Pin
hrishiS4-Feb-09 0:01
hrishiS4-Feb-09 0:01 
GeneralRe: vs 2005 , vb.net Pin
Rupesh Kumar Swami4-Feb-09 0:18
Rupesh Kumar Swami4-Feb-09 0:18 
try following
make a query in MSAccess database which contains all fields of both table.Now go to following steps
1. select Data menu item
2. select Add new Data Source
3. select appropriate database and then select query

above three steps generate a dataset say dataset1

Now open your crystal report and perform following steps

1. From field explorer, right click on Database Fields and select Database Expert. This open a window
2. go Project Data-->ADO.Net dataset--->select the dataset (in this case select dataset1)
3. select this dataset and click on Ok button

Now this dataset show all fields of both tables in field explorer.Place required fields on report


Now on the form which have crystalReportViewer,combo and button, place following code to click event of button

Dim ob As New report1'( report1 is your crystal report)<br />
'here populate dataset(ds) for selected id <br />
ob.SetDataSource(ds.Tables(0))<br />
        CrystalReportViewer1.ReportSource = ob<br />
        CrystalReportViewer1.Refresh()


hope this helps

Rupesh Kumar Swami
Software Developer,
Integrated Solution,
Bikaner (India)

My Company
Award: Best VB.NET article of June 2008: Create Column Charts Using OWC11

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.