Click here to Skip to main content
15,912,457 members
Home / Discussions / Visual Basic
   

Visual Basic

 
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 
GeneralRe: passing values from a windows form to a crystal report Pin
myinstincts14-Aug-09 2:17
myinstincts14-Aug-09 2:17 
i dint use dataset Frown | :( ...i read data using datareader...Below is a portion of my code
If strfee = "consultation fee" Then
cmd1 = New OleDbCommand("select fees from fee_details where type='" + doctorcombobx.SelectedItem + "'", con1)
dr1 = cmd1.ExecuteReader()
If dr1.Read() Then
consult_fee = dr1.Item(0)
End If

consult_count = DataGridView1.Rows.Count()
DataGridView1.Rows.Add()

DataGridView1.Rows(consult_count - 1).Cells(0).Value = billcombobox.SelectedItem
DataGridView1.Rows(consult_count - 1).Cells(1).Value = consult_fee
Else
cmd2 = New OleDbCommand("select fees from fee_details where type='" + billcombobox.SelectedItem + "'", con1)
dr2 = cmd2.ExecuteReader()


If dr2.Read() Then
bill_fee = dr2.Item(0)
End If

bill_count = DataGridView1.Rows.Count()
DataGridView1.Rows.Add()

DataGridView1.Rows(bill_count - 1).Cells(0).Value = billcombobox.SelectedItem
DataGridView1.Rows(bill_count - 1).Cells(1).Value = bill_fee

End If
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 
GeneralRe: How can I bring Page x from a TabControl? Pin
Henry Minute13-Aug-09 11:51
Henry Minute13-Aug-09 11:51 

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.