Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~2K People Reached
Interests
C# programing
Favorite Forums
Favorite Tags
Member Avatar for ramkishor

foreach (DataRow udr in udt.Rows) { defaultval = udr["result"].ToString(); cmb.SelectedText = defaultval; cmb.Select(); cmb.DataSource = ddtable; cmb.DisplayMember = "ListVal"; cmb.ValueMember = "DetailID"; } here problem is that i want to put defaultval at selectedindex 0,here default value is taken from anothe table. i mean i have send a combo selected …

Member Avatar for ramkishor
0
209
Member Avatar for ramkishor

try { string reslt = null; string test; foreach (Control c in flowLayoutPanel1.Controls) //here is the minor change { if (c.GetType() == typeof(ComboBox)) { reslt = c.Text; ComboBox combo = (ComboBox)flowLayoutPanel1.Controls.Find(c.Name, true).FirstOrDefault(); test = combo.SelectedValue.ToString(); string insertrec = "insert into testreport(TestID,result,rang,labno,DetailID)Values('" + refid + "','" + reslt + "','0','" + …

Member Avatar for lithium112
0
237
Member Avatar for ramkishor

Richtextboxeditor richt = new Richtextboxeditor(); // richt = new RichTextBox(); //Editor richt = new Editor(); richt.Enabled = true; richt.Visible = true; richt.Location = new System.Drawing.Point(txtBoxStartPosition, txtBoxStartPositionV); richt.Size = new System.Drawing.Size(300, 100); richt.**text** = drtest["DValue"].ToString(); sir, i have create a user control and want to bind the value in richt.text,but here …

Member Avatar for djjeavons
0
170
Member Avatar for ramkishor

how we can bind DataRows value into list<string>detail sir i am binding values from database then how we can use list<string> for example dr["field"].tostring();

Member Avatar for ramkishor
0
116
Member Avatar for ramkishor

sir, i have created a global variable on one button click within for loop this variable has many records i want each record to be inserted on another event can it be possible. as string str; button click() { foreach(datarow dr in dt.rows) { str=dr["field"].tostring(); } } submit button() { …

Member Avatar for djjeavons
0
211
Member Avatar for ramkishor

how we can bind values in combobox and insert into database when we create dynamic combobox in c#..please help me..

Member Avatar for ramkishor
0
692