Click here to Skip to main content
15,922,419 members
Home / Discussions / C#
   

C#

 
QuestionHow to list the shared folders for an IP Address Pin
AmitDey9-Nov-06 6:48
AmitDey9-Nov-06 6:48 
QuestionChange datagridview scrollbar color Pin
Mertli Ozgur Nevres9-Nov-06 6:23
Mertli Ozgur Nevres9-Nov-06 6:23 
AnswerRe: Change datagridview scrollbar color Pin
led mike9-Nov-06 6:49
led mike9-Nov-06 6:49 
GeneralRe: Change datagridview scrollbar color Pin
Mertli Ozgur Nevres9-Nov-06 22:05
Mertli Ozgur Nevres9-Nov-06 22:05 
GeneralRe: Change datagridview scrollbar color Pin
Mertli Ozgur Nevres9-Nov-06 23:47
Mertli Ozgur Nevres9-Nov-06 23:47 
QuestionSFTP using FtpWebRequest class? Pin
Jason Weibel9-Nov-06 6:09
Jason Weibel9-Nov-06 6:09 
AnswerRe: SFTP using FtpWebRequest class? Pin
led mike9-Nov-06 6:48
led mike9-Nov-06 6:48 
GeneralRe: SFTP using FtpWebRequest class? Pin
Jason Weibel9-Nov-06 7:09
Jason Weibel9-Nov-06 7:09 
GeneralRe: SFTP using FtpWebRequest class? Pin
led mike9-Nov-06 7:39
led mike9-Nov-06 7:39 
GeneralRe: SFTP using FtpWebRequest class? Pin
Jason Weibel9-Nov-06 7:52
Jason Weibel9-Nov-06 7:52 
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 

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.