Click here to Skip to main content
15,889,773 members
Home / Discussions / C#
   

C#

 
Generaldatagridview Pin
SVb.net8-Jan-08 2:17
SVb.net8-Jan-08 2:17 
GeneralRe: datagridview Pin
Justin Perez8-Jan-08 4:00
Justin Perez8-Jan-08 4:00 
QuestionHow to handle special International characters in C#. Pin
MinhajuddinK8-Jan-08 1:39
MinhajuddinK8-Jan-08 1:39 
AnswerRe: How to handle special International characters in C#. Pin
Matthew Butler8-Jan-08 4:00
Matthew Butler8-Jan-08 4:00 
GeneralRe: How to handle special International characters in C#. Pin
MinhajuddinK8-Jan-08 5:34
MinhajuddinK8-Jan-08 5:34 
QuestioniTunes SDK (Cover Art) Pin
MicealG8-Jan-08 1:30
MicealG8-Jan-08 1:30 
Generalstruggling with return type of procedure Pin
tasumisra8-Jan-08 0:53
tasumisra8-Jan-08 0:53 
GeneralRe: struggling with return type of procedure Pin
Mircea Puiu8-Jan-08 1:12
Mircea Puiu8-Jan-08 1:12 
using (SqlConnection sc = new SqlConnection())
{
    StringBuilder sql = new StringBuilder();
    sql.Append("exec spYourProc");
    // append params if any
    string connStr = ".... your string connection here ....";
    sc.ConnectionString = connStr;
    sc.Open();
    using (SqlCommand sco = new SqlCommand())
    {
        try
        {
            sco.CommandType = CommandType.Text;
            sco.CommandText = sql.ToString();
            sco.Connection = sc;
            using (SqlDataReader sr = sco.ExecuteReader())
            {
                YourControl.DataSource = sr;
                YourControl.DataBind();
            }
        }
        catch (SqlException exc)
        {
            // ... Treat exceptions here ...
        }
    }
}


SkyWalker

GeneralRe: struggling with return type of procedure Pin
tasumisra8-Jan-08 1:17
tasumisra8-Jan-08 1:17 
GeneralRe: struggling with return type of procedure Pin
Mircea Puiu8-Jan-08 1:24
Mircea Puiu8-Jan-08 1:24 
AnswerRe: struggling with return type of procedure Pin
Guffa8-Jan-08 3:38
Guffa8-Jan-08 3:38 
Generalassembly not found Pin
infi_20078-Jan-08 0:50
infi_20078-Jan-08 0:50 
GeneralRe: assembly not found Pin
Mircea Puiu8-Jan-08 1:07
Mircea Puiu8-Jan-08 1:07 
GeneralWindows Permission Dialog Pin
borjolujo8-Jan-08 0:29
borjolujo8-Jan-08 0:29 
QuestionCrystal Reports CrossTab fields Pin
adi.rusu8-Jan-08 0:03
adi.rusu8-Jan-08 0:03 
QuestionHow to call notepad from windows service Pin
ravindradonkada7-Jan-08 23:56
ravindradonkada7-Jan-08 23:56 
GeneralRe: How to call notepad from windows service Pin
sindhutiwari8-Jan-08 1:17
sindhutiwari8-Jan-08 1:17 
GeneralRe: How to call notepad from windows service Pin
Vasudevan Deepak Kumar8-Jan-08 2:31
Vasudevan Deepak Kumar8-Jan-08 2:31 
QuestionHow to open notepad from windows service Pin
ravindradonkada7-Jan-08 23:55
ravindradonkada7-Jan-08 23:55 
GeneralStarting NotePad from C# code Pin
Mircea Puiu8-Jan-08 0:57
Mircea Puiu8-Jan-08 0:57 
GeneralRe: Starting NotePad from C# code Pin
Stu Richardson8-Jan-08 1:18
Stu Richardson8-Jan-08 1:18 
GeneralRe: Starting NotePad from C# code Pin
Mircea Puiu8-Jan-08 1:20
Mircea Puiu8-Jan-08 1:20 
GeneralRe: Starting NotePad from C# code Pin
J4amieC8-Jan-08 1:23
J4amieC8-Jan-08 1:23 
GeneralRe: Starting NotePad from C# code Pin
Mircea Puiu8-Jan-08 1:25
Mircea Puiu8-Jan-08 1:25 
GeneralRe: How to open notepad from windows service Pin
J4amieC8-Jan-08 1:25
J4amieC8-Jan-08 1:25 

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.