Click here to Skip to main content
15,924,982 members
Home / Discussions / C#
   

C#

 
GeneralRe: Loading Text into a RichTextBox (With a catch) Pin
Giorgi Dalakishvili3-Jan-08 23:05
mentorGiorgi Dalakishvili3-Jan-08 23:05 
GeneralRe: Loading Text into a RichTextBox (With a catch) Pin
Programm3r3-Jan-08 23:35
Programm3r3-Jan-08 23:35 
GeneralRe: Loading Text into a RichTextBox (With a catch) Pin
Giorgi Dalakishvili3-Jan-08 23:47
mentorGiorgi Dalakishvili3-Jan-08 23:47 
GeneralRe: Loading Text into a RichTextBox (With a catch) Pin
Programm3r4-Jan-08 0:02
Programm3r4-Jan-08 0:02 
GeneralRe: Loading Text into a RichTextBox (With a catch) Pin
Giorgi Dalakishvili4-Jan-08 0:20
mentorGiorgi Dalakishvili4-Jan-08 0:20 
GeneralThanks for the help Pin
Programm3r4-Jan-08 0:58
Programm3r4-Jan-08 0:58 
GeneralRe: Thanks for the help Pin
Giorgi Dalakishvili4-Jan-08 1:05
mentorGiorgi Dalakishvili4-Jan-08 1:05 
QuestionHow to show the datatable values in combobox? Pin
kssknov3-Jan-08 22:50
kssknov3-Jan-08 22:50 
hi all
i want to show a column value from datatable.I tried as below . it doesnt shows the values.

pls help.


   SqlDataAdapter adpt = new SqlDataAdapter(cmd);<br />
                DataTable dtCust1 = new DataTable("CustomerDatTab");<br />
                adpt.Fill(dtCust1);<br />
           <br />
               dataGridView1.DataSource=dtCust1; //datagrid shows data.<br />
<br />
<br />
               DataRow dr = new DataRow();<br />
             foreach (DataRow dr in dtCust1.Rows)<br />
              comboBox1.Items.Add(dr.ToString());<br />
               <br />
          //the below code also didnt works. i tried in the below way also<br />
                   //comboBox1.DisplayMember = "CompanyName";<br />
                //for (int i = 0; i < dtCust1.Rows.Count - 1; i++)<br />
                     //comboBox1.Items.Add(dtCust1);<br />
            <br />
<br />
                //comboBox1.DataSource = dtCust1.DefaultView;<br />
<br />
<br />
<br />
<br />
<br />


thank u

senthil

GeneralRe: How to show the datatable values in combobox? Pin
Justin Perez4-Jan-08 3:39
Justin Perez4-Jan-08 3:39 
QuestionIn C# is there any way to know the number of non null elements in an array? Pin
nicolus3-Jan-08 22:45
nicolus3-Jan-08 22:45 
AnswerRe: In C# is there any way to know the number of non null elements in an array? Pin
martin_hughes3-Jan-08 23:06
martin_hughes3-Jan-08 23:06 
QuestionWord To PDF Conversion using C#.NET Pin
Vruddhi Vasoo3-Jan-08 22:20
Vruddhi Vasoo3-Jan-08 22:20 
GeneralRe: Word To PDF Conversion using C#.NET Pin
Christian Graus3-Jan-08 23:37
protectorChristian Graus3-Jan-08 23:37 
GeneralRe: Word To PDF Conversion using C#.NET Pin
Vasudevan Deepak Kumar4-Jan-08 0:07
Vasudevan Deepak Kumar4-Jan-08 0:07 
GeneralRe: Word To PDF Conversion using C#.NET Pin
Pete O'Hanlon4-Jan-08 9:54
mvePete O'Hanlon4-Jan-08 9:54 
GeneralRe: Word To PDF Conversion using C#.NET Pin
Justin Perez4-Jan-08 3:42
Justin Perez4-Jan-08 3:42 
GeneralRe: Word To PDF Conversion using C#.NET Pin
ChrisKo4-Jan-08 5:51
ChrisKo4-Jan-08 5:51 
AnswerRe: Word To PDF Conversion using C#.NET [modified] Pin
murari_amar3-Sep-08 2:41
murari_amar3-Sep-08 2:41 
Generalsetting session as string Pin
eyeseetee3-Jan-08 22:18
eyeseetee3-Jan-08 22:18 
GeneralRe: setting session as string Pin
Pete O'Hanlon3-Jan-08 22:31
mvePete O'Hanlon3-Jan-08 22:31 
GeneralRe: setting session as string Pin
eyeseetee4-Jan-08 0:22
eyeseetee4-Jan-08 0:22 
GeneralRe: setting session as string Pin
Guffa4-Jan-08 1:41
Guffa4-Jan-08 1:41 
GeneralRe: setting session as string Pin
eyeseetee4-Jan-08 5:16
eyeseetee4-Jan-08 5:16 
QuestionNeed help with Regex Pin
Ni Na3-Jan-08 22:04
Ni Na3-Jan-08 22:04 
GeneralRe: Need help with Regex Pin
originSH3-Jan-08 23:59
originSH3-Jan-08 23:59 

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.