Click here to Skip to main content
15,886,199 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionOpen a word document inside a child form in vb.net? Pin
waner michaud28-Apr-11 9:57
waner michaud28-Apr-11 9:57 
AnswerRe: Open a word document inside a child form in vb.net? [modified] Pin
Luc Pattyn28-Apr-11 11:21
sitebuilderLuc Pattyn28-Apr-11 11:21 
AnswerRe: Open a word document inside a child form in vb.net? Pin
gilchinger2-May-11 20:23
gilchinger2-May-11 20:23 
AnswerRe: Open a word document inside a child form in vb.net? Pin
Luc Pattyn3-May-11 1:42
sitebuilderLuc Pattyn3-May-11 1:42 
GeneralRe: Open a word document inside a child form in vb.net? Pin
gilchinger4-May-11 21:37
gilchinger4-May-11 21:37 
Question[VB.NET 2010] Get paths from selected files from Shell\Explorer ContextMenu Pin
The Mighty Atom27-Apr-11 5:36
The Mighty Atom27-Apr-11 5:36 
AnswerRe: [VB.NET 2010] Get paths from selected files from Shell\Explorer ContextMenu Pin
The Mighty Atom30-Apr-11 6:29
The Mighty Atom30-Apr-11 6:29 
QuestionHow to use Dataset1.xsd in ReportViewer VS2010? Pin
Paramu197327-Apr-11 5:30
Paramu197327-Apr-11 5:30 
Hi,
Earlier I used only Crystal reports. I never used any RDLC reports. Now I try to use it in VS2010.

As like usual I added one Dataset [xsd] and it contains Datatable1.

Now How can I use this Dataset1? & DataTable1.?
And from my program Button1_Click

Dim MyDtbl1 As New DataTable, NRow As DataRow

       MyDtbl1.Columns.Add("one", Type.GetType("System.String"))
       MyDtbl1.Columns.Add("two", Type.GetType("System.String"))
       MyDtbl1.Columns.Add("three", Type.GetType("System.String"))

       For J As Integer = 0 To 10
           NRow = MyDtbl1.NewRow
           MyDtbl1.Rows.Add(NRow)
           MyDtbl1.Rows(J).Item("one") = J + 1
           MyDtbl1.Rows(J).Item("two") = J.ToString

           Select Case J
               Case 0
                   MyDtbl1.Rows(J).Item("three") = "zero"
               Case 1
                   MyDtbl1.Rows(J).Item("three") = "one"
               Case 2
                   MyDtbl1.Rows(J).Item("three") = "two"
               Case 3
                   MyDtbl1.Rows(J).Item("three") = "three"
               End Select
       Next

       ReportViewer1.Refresh()
       ReportViewer1.LocalReport.ReportPath = "C:\CodeProject\My Documents\Visual Studio 2010\Projects\MyReportPjct\MyReportPjct\Report1.rdlc"
       ReportViewer1.LocalReport.DisplayName = ?????
       ReportViewer1.LocalReport.DataSources.Clear()
       Dim MyRptDtSource As New Microsoft.Reporting.WinForms.ReportDataSource
       MyRptDtSource.Name = ???????????
       MyRptDtSource.Value =???????????
       ReportViewer1.LocalReport.DataSources.Add(??????)
       ReportViewer1.LocalReport.Refresh()
       ReportViewer1.Visible = True


Any Ideas For Me !!!Thumbs Up | :thumbsup:
Thanks & Regards

PARAMU
AnswerRe: How to use Dataset1.xsd in ReportViewer VS2010? Pin
Paramu197330-Apr-11 19:41
Paramu197330-Apr-11 19:41 
QuestionSyntax question Pin
nlarson1127-Apr-11 4:01
nlarson1127-Apr-11 4:01 
AnswerRe: Syntax question Pin
_Erik_27-Apr-11 4:16
_Erik_27-Apr-11 4:16 
GeneralRe: Syntax question Pin
nlarson1127-Apr-11 4:32
nlarson1127-Apr-11 4:32 
GeneralRe: Syntax question Pin
nlarson1127-Apr-11 15:07
nlarson1127-Apr-11 15:07 
GeneralRe: Syntax question Pin
_Erik_28-Apr-11 1:31
_Erik_28-Apr-11 1:31 
GeneralRe: Syntax question Pin
nlarson1128-Apr-11 3:48
nlarson1128-Apr-11 3:48 
AnswerRe: Syntax question Pin
Jason Vetter27-Apr-11 4:22
Jason Vetter27-Apr-11 4:22 
QuestionTree View Pin
vijay248227-Apr-11 1:40
vijay248227-Apr-11 1:40 
AnswerRe: Tree View Pin
Johan Hakkesteegt28-Apr-11 2:59
Johan Hakkesteegt28-Apr-11 2:59 
QuestionHelp section inside a small app.. Pin
waner michaud26-Apr-11 8:47
waner michaud26-Apr-11 8:47 
AnswerRe: Help section inside a small app.. Pin
Tarakeshwar Reddy26-Apr-11 9:27
professionalTarakeshwar Reddy26-Apr-11 9:27 
GeneralRe: Help section inside a small app.. Pin
waner michaud26-Apr-11 9:53
waner michaud26-Apr-11 9:53 
AnswerRe: Help section inside a small app.. Pin
Tarakeshwar Reddy26-Apr-11 10:15
professionalTarakeshwar Reddy26-Apr-11 10:15 
QuestionSearching in Database between 2 dates. Pin
Kurdy8626-Apr-11 3:46
Kurdy8626-Apr-11 3:46 
AnswerRe: Searching in Database between 2 dates. Pin
Dave Kreskowiak26-Apr-11 4:08
mveDave Kreskowiak26-Apr-11 4:08 
GeneralRe: Searching in Database between 2 dates. Pin
Kurdy8626-Apr-11 4:23
Kurdy8626-Apr-11 4:23 

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.