Click here to Skip to main content
15,917,538 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Vb.net text box Pin
Christian Graus17-Aug-09 23:19
protectorChristian Graus17-Aug-09 23:19 
AnswerRe: Vb.net text box Pin
Tom Deketelaere17-Aug-09 23:56
professionalTom Deketelaere17-Aug-09 23:56 
GeneralRe: Vb.net text box Pin
Christian Graus18-Aug-09 0:06
protectorChristian Graus18-Aug-09 0:06 
GeneralRe: Vb.net text box Pin
Tom Deketelaere18-Aug-09 0:12
professionalTom Deketelaere18-Aug-09 0:12 
GeneralRe: Vb.net text box Pin
Christian Graus18-Aug-09 1:27
protectorChristian Graus18-Aug-09 1:27 
GeneralRe: Vb.net text box Pin
rrrriiizz18-Aug-09 0:50
rrrriiizz18-Aug-09 0:50 
GeneralRe: Vb.net text box Pin
Tom Deketelaere18-Aug-09 1:31
professionalTom Deketelaere18-Aug-09 1:31 
QuestionI need your help desperately on Crystal report [modified] Pin
Dambod17-Aug-09 22:56
Dambod17-Aug-09 22:56 
I have a crystal report, report viewer and a database. the Crystal Report gets its data when datagridview1 item is selected(changed). But I couldn't find the problem why variable "disv3" can't get value at run time. "DS" is my crystal report dataset which acts as datasource.
Dim rpt As New GradeReport
Dim dd As New DS
rpt.SetDataSource(dd)

Dim paramfield1, param2, param3 As New ParameterField
Dim paramfields As New ParameterFields
Dim discreteval1, disv2, disv3 As ParameterDiscreteValue
paramfield1.Name = "column1"
param2.Name = "column2"
param3.Name = "column3"

TextBox5.Text = "introduction to management"
' For i As Integer = 0 To DataGridView1.Rows.Count - 1

discreteval1 = New ParameterDiscreteValue
discreteval1.Value = DataGridView1.CurrentCell.Value.ToString
paramfield1.CurrentValues.Add(discreteval1)
disv2 = New ParameterDiscreteValue
disv2.Value = DataGridView1.CurrentRow.Cells(1).Value.ToString
param2.CurrentValues.Add(disv2)
disv3 = New ParameterDiscreteValue
' TextBox5.DataBindings.Add(New Binding("text", bs, "coursename"))
c.custView = New DataView(c.ds.Tables("student"), "", "studid", DataViewRowState.CurrentRows)
For c.rowIndex = 0 To c.ds.Tables("student").Rows.Count - 1
disv3.Value = c.custView(c.rowIndex)("StudentFullName").ToString
param3.CurrentValues.Add(disv3)

Next

paramfields.Add(paramfield1)
paramfields.Add(param2)
paramfields.Add(param3)

GradeReportForm.CrystalReportViewer1.ParameterFieldInfo = paramfields
GradeReportForm.CrystalReportViewer1.AutoSize = True
'Next

GradeReportForm.CrystalReportViewer1.ReportSource = rpt

GradeReportForm.Show()
GradeReportForm.CrystalReportViewer1.Refresh()

modified on Tuesday, August 18, 2009 5:09 AM

QuestionHow we Use XtraChart? Pin
faravani17-Aug-09 21:54
faravani17-Aug-09 21:54 
AnswerRe: How we Use XtraChart? Pin
Christian Graus17-Aug-09 22:33
protectorChristian Graus17-Aug-09 22:33 
QuestionHow to get winpadlock.ocx as free for VB Pin
vasanth arivali17-Aug-09 21:30
vasanth arivali17-Aug-09 21:30 
AnswerRe: How to get winpadlock.ocx as free for VB Pin
Christian Graus17-Aug-09 22:33
protectorChristian Graus17-Aug-09 22:33 
AnswerRe: How to get winpadlock.ocx as free for VB Pin
Dave Kreskowiak18-Aug-09 2:12
mveDave Kreskowiak18-Aug-09 2:12 
Questionneed help calculator do not accept more than max char on textbox Pin
vblearner0917-Aug-09 15:01
vblearner0917-Aug-09 15:01 
AnswerRe: need help calculator do not accept more than max char on textbox Pin
Christian Graus17-Aug-09 15:31
protectorChristian Graus17-Aug-09 15:31 
GeneralRe: need help calculator do not accept more than max char on textbox Pin
vblearner0917-Aug-09 16:20
vblearner0917-Aug-09 16:20 
GeneralRe: need help calculator do not accept more than max char on textbox Pin
Christian Graus17-Aug-09 16:28
protectorChristian Graus17-Aug-09 16:28 
GeneralRe: need help calculator do not accept more than max char on textbox Pin
vblearner0917-Aug-09 16:34
vblearner0917-Aug-09 16:34 
GeneralRe: need help calculator do not accept more than max char on textbox Pin
Christian Graus17-Aug-09 16:50
protectorChristian Graus17-Aug-09 16:50 
GeneralRe: need help calculator do not accept more than max char on textbox Pin
vblearner0917-Aug-09 17:57
vblearner0917-Aug-09 17:57 
GeneralRe: need help calculator do not accept more than max char on textbox Pin
Christian Graus17-Aug-09 19:20
protectorChristian Graus17-Aug-09 19:20 
GeneralRe: need help calculator do not accept more than max char on textbox Pin
vblearner0918-Aug-09 7:59
vblearner0918-Aug-09 7:59 
QuestionVariable Depth For Loop to create a number sequence...how?! Pin
Aaron @ Think Software17-Aug-09 14:43
professionalAaron @ Think Software17-Aug-09 14:43 
AnswerRe: Variable Depth For Loop to create a number sequence...how?! Pin
Christian Graus17-Aug-09 14:56
protectorChristian Graus17-Aug-09 14:56 
GeneralRe: Variable Depth For Loop to create a number sequence...how?! Pin
Aaron @ Think Software17-Aug-09 14:59
professionalAaron @ Think Software17-Aug-09 14:59 

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.