Click here to Skip to main content
15,499,289 members
Home / Discussions / C#
   

C#

 
QuestionThread Freeze when trying Abort Pin
Member 1098515215-Aug-14 13:17
MemberMember 1098515215-Aug-14 13:17 
GeneralRe: Thread Freeze when trying Abort Pin
PIEBALDconsult15-Aug-14 13:47
professionalPIEBALDconsult15-Aug-14 13:47 
QuestionSummary Report in GridView Pin
sk_ko14-Aug-14 23:02
Membersk_ko14-Aug-14 23:02 
AnswerRe: Summary Report in GridView Pin
Chris Quinn14-Aug-14 23:36
MemberChris Quinn14-Aug-14 23:36 
AnswerRe: Summary Report in GridView Pin
Mycroft Holmes15-Aug-14 0:00
professionalMycroft Holmes15-Aug-14 0:00 
GeneralScope of Share point and Silverlight Pin
Member 1059394814-Aug-14 4:40
MemberMember 1059394814-Aug-14 4:40 
GeneralRe: Scope of Share point and Silverlight Pin
Richard MacCutchan14-Aug-14 5:22
mveRichard MacCutchan14-Aug-14 5:22 
Questionhow do i make each combo box to show a dropdown of the value of the Quantity it has fetched. Pin
Member 1050484913-Aug-14 10:02
MemberMember 1050484913-Aug-14 10:02 
Please how can I achieve this in a datagridview that when data is fetched from database, that each combo box will show a dropdown of the value of the Quantity it has fetched.

for an instance, if x gets 10,12,15,9,5,3
the first combobox will show a dropdown of 1 to 10, the second will show 1 to 12,...


DataGridViewComboBoxColumn dv = new DataGridViewComboBoxColumn();
dv.HeaderText = "myCombobox";

cmd.Connection = conn;
cmd.CommandType = CommandType.Text;
cmd.CommandText = "Select * from Toolz";
conn.Open();
reader = cmd.ExecuteReader();
while (reader.Read())
{
x = Reader.GetInt32(3);
}
foreach (DataGridViewRow dvx in dataGridView3.Rows)
{
y = Convert.ToInt32(dvx.Cells[3].Value.ToString());
}
for (g = 0; g < y; g++) ;
List<int> xl = new List<int>();
xl.Add(g);

foreach (DataGridViewComboBoxColumn dvx in dataGridView3.Rows)
{
dv.Items.Add(xl);
}
Keep the Dream Alive..

SuggestionRe: how do i make each combo box to show a dropdown of the value of the Quantity it has fetched. Pin
ZurdoDev13-Aug-14 10:24
professionalZurdoDev13-Aug-14 10:24 
QuestionHow to increment div count in path Pin
Member 1098388513-Aug-14 7:09
MemberMember 1098388513-Aug-14 7:09 
Questionc# Play Video Fullscreen Pin
Member 416962813-Aug-14 6:20
MemberMember 416962813-Aug-14 6:20 
AnswerRe: c# Play Video Fullscreen Pin
Simon_Whale13-Aug-14 6:41
professionalSimon_Whale13-Aug-14 6:41 
GeneralRe: c# Play Video Fullscreen Pin
Member 416962813-Aug-14 6:53
MemberMember 416962813-Aug-14 6:53 
GeneralRe: c# Play Video Fullscreen Pin
Dave Kreskowiak13-Aug-14 7:05
mveDave Kreskowiak13-Aug-14 7:05 
GeneralRe: c# Play Video Fullscreen Pin
Member 416962813-Aug-14 9:42
MemberMember 416962813-Aug-14 9:42 
GeneralRe: c# Play Video Fullscreen Pin
Dave Kreskowiak13-Aug-14 13:27
mveDave Kreskowiak13-Aug-14 13:27 
GeneralRe: c# Play Video Fullscreen Pin
Bernhard Hiller13-Aug-14 22:48
MemberBernhard Hiller13-Aug-14 22:48 
Question[CheckBox ComboBox] Strange problem with ComboBox.CheckBoxItems[].Checked = true Pin
Member 1062093513-Aug-14 5:17
MemberMember 1062093513-Aug-14 5:17 
SuggestionRe: [CheckBox ComboBox] Strange problem with ComboBox.CheckBoxItems[].Checked = true Pin
Richard Deeming13-Aug-14 5:57
mveRichard Deeming13-Aug-14 5:57 
GeneralRe: [CheckBox ComboBox] Strange problem with ComboBox.CheckBoxItems[].Checked = true Pin
Member 1062093513-Aug-14 21:02
MemberMember 1062093513-Aug-14 21:02 
QuestionRegarding the usage of generic in real life Pin
Tridip Bhattacharjee12-Aug-14 22:20
professionalTridip Bhattacharjee12-Aug-14 22:20 
AnswerRe: Regarding the usage of generic in real life Pin
Manfred Rudolf Bihy12-Aug-14 22:51
professionalManfred Rudolf Bihy12-Aug-14 22:51 
GeneralRe: Regarding the usage of generic in real life Pin
Tridip Bhattacharjee13-Aug-14 0:18
professionalTridip Bhattacharjee13-Aug-14 0:18 
GeneralRe: Regarding the usage of generic in real life Pin
Debabrata TPX13-Aug-14 0:49
MemberDebabrata TPX13-Aug-14 0:49 
GeneralRe: Regarding the usage of generic in real life Pin
Tridip Bhattacharjee13-Aug-14 22:25
professionalTridip Bhattacharjee13-Aug-14 22: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.