Click here to Skip to main content
15,881,803 members
Home / Discussions / C#
   

C#

 
QuestionConstructor in static class Pin
amit@iadept10-Sep-12 20:20
amit@iadept10-Sep-12 20:20 
AnswerRe: Constructor in static class Pin
Wayne Gaylard10-Sep-12 20:59
professionalWayne Gaylard10-Sep-12 20:59 
AnswerRe: Constructor in static class Pin
BobJanova11-Sep-12 0:21
BobJanova11-Sep-12 0:21 
AnswerRe: Constructor in static class Pin
PIEBALDconsult11-Sep-12 3:20
mvePIEBALDconsult11-Sep-12 3:20 
AnswerRe: Constructor in static class Pin
Abhinav S11-Sep-12 7:52
Abhinav S11-Sep-12 7:52 
JokeRe: Constructor in static class Pin
Pete O'Hanlon11-Sep-12 8:04
mvePete O'Hanlon11-Sep-12 8:04 
AnswerRe: Constructor in static class Pin
Clifford Nelson11-Sep-12 8:04
Clifford Nelson11-Sep-12 8:04 
Questionpopulate textbox in selectedindexchangeevent Pin
tonyalex00110-Sep-12 20:08
tonyalex00110-Sep-12 20:08 
i have a problem in my code for doing the slectedindex event.pls help
C#
SqlCommand cmd = new SqlCommand("select firstname,phoneno from user1 where rollno='" + comboBox1.SelectedItem + "'", con);
SqlDataReader dr;
con.Open();
dr = cmd.ExecuteReader();
if (dr.Read())
{
    textBox1.Text = dr[0].ToString();
    textBox2.Text = dr[1].ToString();
    label4.Visible = true;
    label4.Text = "show";
}
con.Close();

QuestionRe: populate textbox in selectedindexchangeevent Pin
Wayne Gaylard10-Sep-12 21:01
professionalWayne Gaylard10-Sep-12 21:01 
AnswerRe: populate textbox in selectedindexchangeevent Pin
Bernhard Hiller10-Sep-12 22:00
Bernhard Hiller10-Sep-12 22:00 
QuestionWindows Login Box Pin
mamoony10-Sep-12 10:45
mamoony10-Sep-12 10:45 
AnswerRe: Windows Login Box Pin
Michael_Lu10-Sep-12 11:18
Michael_Lu10-Sep-12 11:18 
GeneralRe: Windows Login Box Pin
mamoony11-Sep-12 2:39
mamoony11-Sep-12 2:39 
AnswerRe: Windows Login Box Pin
Abhinav S10-Sep-12 17:35
Abhinav S10-Sep-12 17:35 
GeneralRe: Windows Login Box Pin
mamoony11-Sep-12 2:43
mamoony11-Sep-12 2:43 
QuestionWeb Service Stack trace .. Pin
UBX10-Sep-12 4:02
UBX10-Sep-12 4:02 
AnswerRe: Web Service Stack trace .. Pin
Dave Kreskowiak10-Sep-12 5:57
mveDave Kreskowiak10-Sep-12 5:57 
GeneralRe: Web Service Stack trace .. Pin
BobJanova11-Sep-12 0:23
BobJanova11-Sep-12 0:23 
GeneralRe: Web Service Stack trace .. Pin
Pete O'Hanlon11-Sep-12 0:36
mvePete O'Hanlon11-Sep-12 0:36 
GeneralRe: Web Service Stack trace .. Pin
BobJanova11-Sep-12 0:44
BobJanova11-Sep-12 0:44 
GeneralRe: Web Service Stack trace .. Pin
Pete O'Hanlon11-Sep-12 1:56
mvePete O'Hanlon11-Sep-12 1:56 
GeneralRe: Web Service Stack trace .. Pin
Dave Kreskowiak11-Sep-12 2:03
mveDave Kreskowiak11-Sep-12 2:03 
QuestionHelp File Authoring Pin
Bart10-Sep-12 3:07
Bart10-Sep-12 3:07 
AnswerRe: Help File Authoring Pin
Pete O'Hanlon10-Sep-12 3:13
mvePete O'Hanlon10-Sep-12 3:13 
GeneralRe: Help File Authoring Pin
Bart10-Sep-12 3:42
Bart10-Sep-12 3:42 

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.