Click here to Skip to main content
15,915,093 members
Home / Discussions / C#
   

C#

 
AnswerRe: Converting String to Date Pin
Eliz.k26-Jul-07 22:04
Eliz.k26-Jul-07 22:04 
QuestionFiles restore by MSI after change Pin
Eduard Keilholz25-Jul-07 21:00
Eduard Keilholz25-Jul-07 21:00 
Questiondetecting mouseclick in arraylist Pin
cyn825-Jul-07 20:53
cyn825-Jul-07 20:53 
AnswerRe: detecting mouseclick in arraylist Pin
Christian Graus25-Jul-07 21:15
protectorChristian Graus25-Jul-07 21:15 
GeneralRe: detecting mouseclick in arraylist Pin
cyn825-Jul-07 21:40
cyn825-Jul-07 21:40 
Questionto load two combobox side by side on clicking a button(single click). Pin
sowmyasaravanakumar25-Jul-07 20:37
sowmyasaravanakumar25-Jul-07 20:37 
AnswerRe: to load two combobox side by side on clicking a button(single click). Pin
Michael Sync25-Jul-07 20:54
Michael Sync25-Jul-07 20:54 
GeneralRe: to load two combobox side by side on clicking a button(single click). Pin
Michael Sync25-Jul-07 20:57
Michael Sync25-Jul-07 20:57 
If you don't want to append new rows to table1 and you just want add one more column called SS1 and add the value then you may try the code below..

<br />
            DataTable table = new DataTable();<br />
<br />
            table.Columns.Add("SS");<br />
<br />
            DataRow row;<br />
<br />
            for (int i = 0; i < 10; i++)<br />
            {<br />
                row = table.NewRow();<br />
                row["SS"] = i + 1;<br />
<br />
                table.Rows.Add(row);<br />
            }<br />
            comboBox1.DataSource = table;<br />
            comboBox1.DisplayMember = "SS";<br />
<br />
            DataTable s = new DataTable();<br />
            s = table.Clone();<br />
<br />
            table.Columns.Add("SS1");<br />
            int j = new int();<br />
            foreach (DataRow dr in table.Rows)<br />
            {<br />
                dr["SS1"] = j++;<br />
            }<br />
            <br />
            comboBox2.DataSource = table;<br />
            comboBox2.DisplayMember = "SS1";


Hope it would help..

Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)


QuestionEnable/Disable Menuitems of MdiParent from MdiChild Pin
zenithmaximus25-Jul-07 20:14
zenithmaximus25-Jul-07 20:14 
AnswerRe: Enable/Disable Menuitems of MdiParent from MdiChild Pin
ashukasama25-Jul-07 20:54
ashukasama25-Jul-07 20:54 
GeneralRe: Enable/Disable Menuitems of MdiParent from MdiChild Pin
zenithmaximus25-Jul-07 21:06
zenithmaximus25-Jul-07 21:06 
GeneralRe: Enable/Disable Menuitems of MdiParent from MdiChild Pin
ashukasama25-Jul-07 21:11
ashukasama25-Jul-07 21:11 
GeneralRe: Enable/Disable Menuitems of MdiParent from MdiChild Pin
zenithmaximus25-Jul-07 21:20
zenithmaximus25-Jul-07 21:20 
GeneralRe: Enable/Disable Menuitems of MdiParent from MdiChild Pin
ashukasama25-Jul-07 22:05
ashukasama25-Jul-07 22:05 
GeneralRe: Enable/Disable Menuitems of MdiParent from MdiChild Pin
zenithmaximus25-Jul-07 22:21
zenithmaximus25-Jul-07 22:21 
GeneralRe: Enable/Disable Menuitems of MdiParent from MdiChild Pin
ashukasama25-Jul-07 22:26
ashukasama25-Jul-07 22:26 
Questionexport data from datagrid to excel sheet Pin
srinivassam25-Jul-07 19:52
srinivassam25-Jul-07 19:52 
AnswerRe: export data from datagrid to excel sheet Pin
zenithmaximus25-Jul-07 20:22
zenithmaximus25-Jul-07 20:22 
GeneralRe: export data from datagrid to excel sheet Pin
srinivassam25-Jul-07 20:32
srinivassam25-Jul-07 20:32 
GeneralRe: export data from datagrid to excel sheet Pin
zenithmaximus25-Jul-07 20:58
zenithmaximus25-Jul-07 20:58 
GeneralRe: export data from datagrid to excel sheet Pin
srinivassam25-Jul-07 22:53
srinivassam25-Jul-07 22:53 
QuestionUser Control Pin
Try25-Jul-07 19:31
Try25-Jul-07 19:31 
AnswerRe: User Control Pin
Martin#25-Jul-07 19:52
Martin#25-Jul-07 19:52 
GeneralRe: User Control Pin
Try25-Jul-07 20:21
Try25-Jul-07 20:21 
GeneralRe: User Control Pin
Martin#25-Jul-07 20:52
Martin#25-Jul-07 20:52 

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.