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

C#

 
Questionform variables Pin
milleusi29-Sep-06 22:15
milleusi29-Sep-06 22:15 
AnswerRe: form variables Pin
Stefan Troschuetz29-Sep-06 22:37
Stefan Troschuetz29-Sep-06 22:37 
QuestionThreading Pin
clint198229-Sep-06 21:44
clint198229-Sep-06 21:44 
AnswerRe: Threading Pin
geo_m29-Sep-06 21:48
geo_m29-Sep-06 21:48 
AnswerRe: Threading Pin
Christopher Duncan30-Sep-06 1:32
Christopher Duncan30-Sep-06 1:32 
QuestionSFTP client and server dll for C# windows form Pin
Pavan Josh29-Sep-06 21:17
Pavan Josh29-Sep-06 21:17 
QuestionMobile API in C# Pin
yousafzai29-Sep-06 20:28
yousafzai29-Sep-06 20:28 
Questionproblem in querying database Pin
DownBySpj29-Sep-06 19:45
DownBySpj29-Sep-06 19:45 
hi,
i m having problem in reading values from database. something silly i m doing but can't figure it right now. Any help is welcome

public void getColumnNames(string col)<br />
    {<br />
        string constr = System.Configuration.ConfigurationManager.AppSettings["conskypak"];<br />
        String cmdstr = "SELECT columnname FROM TableDescription where RecordCode=' " + col + " ' ";<br />
        SqlConnection cn = new SqlConnection(constr);<br />
        SqlCommand cmd = new SqlCommand(cmdstr,cn);<br />
        SqlDataReader dr;<br />
        cn.Open();<br />
        dr = cmd.ExecuteReader();<br />
        while (!dr.Read())<br />
        {<br />
            string name = "";<br />
            name =(string)dr[0];<br />
        }<br />
        cn.Close();<br />
<br />
<br />
    }

AnswerRe: problem in querying database Pin
Nafiseh Salmani29-Sep-06 19:56
Nafiseh Salmani29-Sep-06 19:56 
GeneralRe: problem in querying database Pin
DownBySpj29-Sep-06 20:52
DownBySpj29-Sep-06 20:52 
AnswerRe: problem in querying database Pin
jeyapandian29-Sep-06 20:49
jeyapandian29-Sep-06 20:49 
AnswerRe: problem in querying database Pin
Stefan Troschuetz29-Sep-06 22:44
Stefan Troschuetz29-Sep-06 22:44 
Questionreturning arrays from function Pin
DownBySpj29-Sep-06 19:06
DownBySpj29-Sep-06 19:06 
AnswerRe: returning arrays from function Pin
zhengdong jin29-Sep-06 20:12
zhengdong jin29-Sep-06 20:12 
QuestionDeployment problem with events called from COM Pin
Symbul29-Sep-06 18:57
Symbul29-Sep-06 18:57 
QuestionHow to keep my app from being "killed" Pin
Darryl Borden29-Sep-06 18:51
Darryl Borden29-Sep-06 18:51 
AnswerRe: How to keep my app from being "killed" Pin
Syed Mujtaba Hassan29-Sep-06 21:09
Syed Mujtaba Hassan29-Sep-06 21:09 
AnswerRe: How to keep my app from being "killed" Pin
geo_m29-Sep-06 21:34
geo_m29-Sep-06 21:34 
QuestionMouse pointer Pin
Nafiseh Salmani29-Sep-06 18:46
Nafiseh Salmani29-Sep-06 18:46 
AnswerRe: Mouse pointer Pin
Nafiseh Salmani29-Sep-06 21:13
Nafiseh Salmani29-Sep-06 21:13 
QuestionDiagramming application Pin
Mustafa Ismail Mustafa29-Sep-06 16:55
Mustafa Ismail Mustafa29-Sep-06 16:55 
QuestionStill Brginner!!!! Pin
Bagie29-Sep-06 13:43
Bagie29-Sep-06 13:43 
AnswerRe: Still Brginner!!!! Pin
Nader Elshehabi29-Sep-06 14:36
Nader Elshehabi29-Sep-06 14:36 
GeneralRe: Still Brginner!!!! Pin
Bagie1-Oct-06 13:17
Bagie1-Oct-06 13:17 
Questionsocket.beginrecieve method for UDP. find out who sent you the data? Pin
mmatteson29-Sep-06 12:48
mmatteson29-Sep-06 12:48 

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.