Click here to Skip to main content
15,905,782 members
Home / Discussions / C#
   

C#

 
AnswerRe: SFTP using FtpWebRequest class? Pin
led mike9-Nov-06 8:53
led mike9-Nov-06 8:53 
GeneralRe: SFTP using FtpWebRequest class? Pin
Jason Weibel9-Nov-06 10:52
Jason Weibel9-Nov-06 10:52 
GeneralRe: SFTP using FtpWebRequest class? Pin
led mike9-Nov-06 11:07
led mike9-Nov-06 11:07 
QuestionC# Express returning on } Pin
Killer_XYZ9-Nov-06 6:05
Killer_XYZ9-Nov-06 6:05 
AnswerRe: C# Express returning on } Pin
Guffa9-Nov-06 7:53
Guffa9-Nov-06 7:53 
AnswerRe: C# Express returning on } Pin
Killer_XYZ9-Nov-06 8:03
Killer_XYZ9-Nov-06 8:03 
GeneralRe: C# Express returning on } Pin
Guffa9-Nov-06 14:12
Guffa9-Nov-06 14:12 
Questionhow select adata from sql by c# Pin
jemi jets9-Nov-06 5:41
jemi jets9-Nov-06 5:41 
was up all..any way after i have mad aconnection between c# and sql ..i wrote the code below to select frist name ,depratment no of the employess from my data base (company)..its run..but there was logic errorD'Oh! | :doh: Sigh | :sigh: !!
the code:
private void button4_Click(object sender, System.EventArgs e)
{
sqlcon.Open();
sqlcom.CommandText="select fname,dno from emp where ssn="+txt.Text+"";
SqlDataReader x = sqlcom.ExecuteReader ();
if(x.Read())
{
txtfname.Text=x.GetString(1);
txtdno.Text=x.GetDecimal(3).ToString();
}
else
{
MessageBox.Show("NOT FOUND");
}
sqlcon.Close();

}
note: the fname int ist sec columns and the dno in the 4th cloumn.>>>waiting...







AnswerRe: how select adata from sql by c# Pin
ednrgc9-Nov-06 6:43
ednrgc9-Nov-06 6:43 
GeneralRe: how select adata from sql by c# Pin
jemi jets9-Nov-06 9:37
jemi jets9-Nov-06 9:37 
AnswerRe: how select adata from sql by c# Pin
ednrgc9-Nov-06 6:45
ednrgc9-Nov-06 6:45 
AnswerRe: how select adata from sql by c# Pin
Christian Graus9-Nov-06 9:09
protectorChristian Graus9-Nov-06 9:09 
Questionexception: Cannot modify the Items collection when the DataSource property is set. Pin
Saira Tanwir9-Nov-06 3:54
Saira Tanwir9-Nov-06 3:54 
AnswerRe: exception: Cannot modify the Items collection when the DataSource property is set. Pin
Parwej Ahamad9-Nov-06 5:30
professionalParwej Ahamad9-Nov-06 5:30 
GeneralRe: exception: Cannot modify the Items collection when the DataSource property is set. Pin
Saira Tanwir9-Nov-06 21:57
Saira Tanwir9-Nov-06 21:57 
GeneralRe: exception: Cannot modify the Items collection when the DataSource property is set. Pin
Parwej Ahamad10-Nov-06 5:05
professionalParwej Ahamad10-Nov-06 5:05 
QuestionGarbage Collection ? or something else ? Pin
C#_Dude9-Nov-06 3:41
C#_Dude9-Nov-06 3:41 
AnswerRe: Garbage Collection ? or something else ? Pin
Guffa9-Nov-06 3:52
Guffa9-Nov-06 3:52 
AnswerRe: Garbage Collection ? or something else ? Pin
Jon Hulatt9-Nov-06 3:53
Jon Hulatt9-Nov-06 3:53 
Questiondatagridview and xml Pin
Yustme9-Nov-06 3:09
Yustme9-Nov-06 3:09 
AnswerRe: datagridview and xml Pin
Drew McGhie9-Nov-06 9:30
Drew McGhie9-Nov-06 9:30 
QuestionFont conversion when XML serialize Pin
topcatalpha9-Nov-06 3:09
topcatalpha9-Nov-06 3:09 
AnswerRe: Font conversion when XML serialize Pin
topcatalpha14-Nov-06 2:58
topcatalpha14-Nov-06 2:58 
QuestionUnable to start debugging In VS2005 Pin
GnanaprakashJebaraj9-Nov-06 2:32
GnanaprakashJebaraj9-Nov-06 2:32 
AnswerRe: Unable to start debugging In VS2005 Pin
Yustme9-Nov-06 3:57
Yustme9-Nov-06 3:57 

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.