Click here to Skip to main content
15,900,258 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Problem with Combobox Populating And Sorting Pin
Vimalsoft(Pty) Ltd16-Aug-07 0:16
professionalVimalsoft(Pty) Ltd16-Aug-07 0:16 
QuestionThe SourceCode Manage Pin
codelinks15-Aug-07 21:21
codelinks15-Aug-07 21:21 
AnswerRe: The SourceCode Manage Pin
Dave Kreskowiak16-Aug-07 3:08
mveDave Kreskowiak16-Aug-07 3:08 
GeneralRe: The SourceCode Manage Pin
codelinks16-Aug-07 3:13
codelinks16-Aug-07 3:13 
Questionhow can i get the domain Name/IP under which my mahine works Pin
koolprasad200315-Aug-07 21:01
professionalkoolprasad200315-Aug-07 21:01 
AnswerRe: how can i get the domain Name/IP under which my mahine works Pin
Tom Deketelaere15-Aug-07 21:12
professionalTom Deketelaere15-Aug-07 21:12 
Questionhow to populate data in the DDL Pin
biswa4715-Aug-07 20:16
biswa4715-Aug-07 20:16 
AnswerRe: how to populate data in the DDL Pin
codelinks15-Aug-07 20:45
codelinks15-Aug-07 20:45 
hi Biswa,
on the selected index changed of the DDL u can write this code,
make sure the AutopostBack is true for the DDL

protected void ddEmpID_SelectedIndexChanged(object sender, EventArgs e)
{
try
{
string strEmpName = "SELECT empid,empname FROM tbl_XYZ WHERE empid = '" + ddEmpID.SelectedValue + "'";
SqlCommand comEMP = new SqlCommand(strEmpName, con);
SqlDataReader dr;
con.Open();
dr = comEMP.ExecuteReader();
while (dr.Read())
{
lblEmpName.Text = dr["empname"].ToString();
}
}
catch (Exception ex)
{
Trace.Write(ex.Message);
}
finally
{
con.Close();
}

}

winnie

AnswerRe: how to populate data in the DDL Pin
codelinks15-Aug-07 20:48
codelinks15-Aug-07 20:48 
Questionclass [modified] Pin
nitin315-Aug-07 20:08
nitin315-Aug-07 20:08 
AnswerRe: class Pin
Zia Ul Haq Soofi15-Aug-07 21:42
Zia Ul Haq Soofi15-Aug-07 21:42 
GeneralRe: class Pin
nitin315-Aug-07 22:14
nitin315-Aug-07 22:14 
AnswerRe: class Pin
Christian Graus15-Aug-07 23:22
protectorChristian Graus15-Aug-07 23:22 
AnswerRe: class Pin
leckey16-Aug-07 3:24
leckey16-Aug-07 3:24 
Questiontreeview scrollbars Pin
lee2315-Aug-07 16:02
lee2315-Aug-07 16:02 
AnswerRe: treeview scrollbars Pin
Tom Deketelaere15-Aug-07 20:53
professionalTom Deketelaere15-Aug-07 20:53 
GeneralRe: treeview scrollbars Pin
lee2315-Aug-07 21:11
lee2315-Aug-07 21:11 
GeneralRe: treeview scrollbars Pin
Tom Deketelaere15-Aug-07 21:21
professionalTom Deketelaere15-Aug-07 21:21 
GeneralRe: treeview scrollbars Pin
lee2315-Aug-07 22:22
lee2315-Aug-07 22:22 
GeneralRe: treeview scrollbars Pin
Tom Deketelaere15-Aug-07 22:44
professionalTom Deketelaere15-Aug-07 22:44 
QuestionLooping thru one column Pin
zchwllms15-Aug-07 10:12
zchwllms15-Aug-07 10:12 
AnswerRe: Looping thru one column Pin
Luc Pattyn15-Aug-07 10:26
sitebuilderLuc Pattyn15-Aug-07 10:26 
QuestionRe: Looping thru one column Pin
zchwllms15-Aug-07 10:39
zchwllms15-Aug-07 10:39 
AnswerRe: Looping thru one column Pin
Luc Pattyn15-Aug-07 10:56
sitebuilderLuc Pattyn15-Aug-07 10:56 
GeneralRe: Looping thru one column Pin
zchwllms15-Aug-07 11:01
zchwllms15-Aug-07 11:01 

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.