Click here to Skip to main content
15,920,603 members
Home / Discussions / Windows Forms
   

Windows Forms

 
GeneralRe: Text Disappears in TextBox Pin
Brady Kelly25-Jun-08 4:14
Brady Kelly25-Jun-08 4:14 
GeneralRe: Text Disappears in TextBox Pin
Alan N25-Jun-08 8:04
Alan N25-Jun-08 8:04 
GeneralRe: Text Disappears in TextBox Pin
Brady Kelly25-Jun-08 8:10
Brady Kelly25-Jun-08 8:10 
GeneralRe: Text Disappears in TextBox Pin
Brady Kelly26-Jun-08 23:09
Brady Kelly26-Jun-08 23:09 
JokeRe: Text Disappears in TextBox Pin
Mycroft Holmes29-Jun-08 23:28
professionalMycroft Holmes29-Jun-08 23:28 
Questiondataset,dataadapter i need help in general Pin
ashrafhakami25-Jun-08 1:07
ashrafhakami25-Jun-08 1:07 
AnswerRe: dataset,dataadapter i need help in general Pin
Christian Graus25-Jun-08 1:47
protectorChristian Graus25-Jun-08 1:47 
QuestionRe: dataset,dataadapter i need help in general pleassssssssss Pin
ashrafhakami26-Jun-08 1:29
ashrafhakami26-Jun-08 1:29 
thanx for your passin by Christian Graus
i will explain more
in table one there are three columns which are
{ drug_name,drug_no,type_no}
in the second table
{ type, type_no}
in the form i need to display the following
drug_name:for example viagra
drug_no:4
type:tablet
when i move to the next record the type must change according to the drug_name and drug_no
for example the next record in the table one is
{Banadol,5,2}
and the second table is
{syrup,2}
i want to display in the form the followin
drug_name:Banadol
drug_np:2
type:syrup.
i did in my cod the followin
in the form_load the followin
for the first table where con is the connection oledb

dim sql as string="select * from drug"
cmd.connection= con.....
cmd.commandtext= sql
dataAdapter.fill(dataset,"drug")
txdrug_name.databindings.add("text",dataset,"drug.drug_name")
txdrug_no.databindings.add("text",dataset,"drug.drug_no")

and the second table is
dim sql2 as string="select type from type where type_no=1 "
cmd.connection= con.....
cmd.commandtext= sql2
dataAdapter2.fill(dataset,"type")
txdrug_type.databindings.add("text",dataset,"type.type")
and every thing was ok when displayed
but when i move to the next record the type never chang
even if i changed the sql (="select type from type where type_no=1 "
)
i even tried to assgin the type _no for table one to a variable to be like this ="select type from type where type_no=variable "
but i failed
please help me it is the a cadimic project
AnswerRe: dataset,dataadapter i need help in general pleassssssssss Pin
Ashfield26-Jun-08 1:54
Ashfield26-Jun-08 1:54 
QuestionProgress Bar Pin
shatterstar645724-Jun-08 14:22
shatterstar645724-Jun-08 14:22 
AnswerRe: Progress Bar Pin
Ashfield24-Jun-08 21:34
Ashfield24-Jun-08 21:34 
AnswerRe: Progress Bar Pin
Christian Graus25-Jun-08 1:45
protectorChristian Graus25-Jun-08 1:45 
QuestionSuggestions for Zorder Management Pin
TyrionTheImp24-Jun-08 5:19
TyrionTheImp24-Jun-08 5:19 
QuestionValue Close() cannot be called while doing CreateHandle() when closing an MDI Child Pin
But_Im_a_Lady23-Jun-08 2:59
But_Im_a_Lady23-Jun-08 2:59 
QuestionWhich DataGridView event for persisting changes? Pin
Brady Kelly23-Jun-08 1:04
Brady Kelly23-Jun-08 1:04 
AnswerRe: Which DataGridView event for persisting changes? Pin
led mike24-Jun-08 9:59
led mike24-Jun-08 9:59 
GeneralRe: Which DataGridView event for persisting changes? Pin
Brady Kelly24-Jun-08 10:07
Brady Kelly24-Jun-08 10:07 
GeneralRe: Which DataGridView event for persisting changes? Pin
led mike24-Jun-08 11:37
led mike24-Jun-08 11:37 
GeneralRe: Which DataGridView event for persisting changes? Pin
Brady Kelly24-Jun-08 11:47
Brady Kelly24-Jun-08 11:47 
QuestionEncoding Mp3 File while uploading to FTP Server Pin
catchcnu22-Jun-08 22:01
catchcnu22-Jun-08 22:01 
Questionmodifying scroll box controls using compact framework SDK Pin
neilfed222-Jun-08 9:15
neilfed222-Jun-08 9:15 
GeneralComboBox in DataGridView Pin
Brady Kelly22-Jun-08 6:16
Brady Kelly22-Jun-08 6:16 
GeneralRe: ComboBox in DataGridView Pin
John_Adams23-Jun-08 4:22
John_Adams23-Jun-08 4:22 
QuestionOpen a windows form one project in other project Pin
C4ao521-Jun-08 7:40
C4ao521-Jun-08 7:40 
AnswerRe: Open a windows form one project in other project Pin
Christian Graus21-Jun-08 15:40
protectorChristian Graus21-Jun-08 15: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.