Click here to Skip to main content
15,917,005 members
Home / Discussions / C#
   

C#

 
GeneralRe: No GUI when I create process on remote PC Pin
Programm3r14-Jan-09 3:17
Programm3r14-Jan-09 3:17 
AnswerRe: No GUI when I create process on remote PC Pin
Dave Kreskowiak14-Jan-09 3:44
mveDave Kreskowiak14-Jan-09 3:44 
Questionadapter.fill method Catch and Finally block do not execute Pin
mpavas14-Jan-09 1:56
mpavas14-Jan-09 1:56 
AnswerRe: adapter.fill method Catch and Finally block do not execute Pin
Colin Angus Mackay14-Jan-09 2:04
Colin Angus Mackay14-Jan-09 2:04 
AnswerRe: adapter.fill method Catch and Finally block do not execute Pin
Christian Graus14-Jan-09 2:27
protectorChristian Graus14-Jan-09 2:27 
QuestionDefault character sets for fonts and foreign characters Pin
tim_gunning14-Jan-09 1:55
tim_gunning14-Jan-09 1:55 
QuestionDataGridView and DataSet , Update and AccpetChanges Pin
half-life14-Jan-09 1:52
half-life14-Jan-09 1:52 
QuestionPlease Can any one Help Pin
Member 284246814-Jan-09 1:24
Member 284246814-Jan-09 1:24 
AnswerRe: Please Can any one Help Pin
musefan14-Jan-09 1:39
musefan14-Jan-09 1:39 
AnswerRe: Please Can any one Help Pin
musefan14-Jan-09 1:46
musefan14-Jan-09 1:46 
AnswerRe: Please Can any one Help Pin
Colin Angus Mackay14-Jan-09 2:15
Colin Angus Mackay14-Jan-09 2:15 
AnswerRe: Please Can any one Help Pin
Member 284246814-Jan-09 2:53
Member 284246814-Jan-09 2:53 
GeneralRe: Please Can any one Help Pin
vaghelabhavesh14-Jan-09 8:58
vaghelabhavesh14-Jan-09 8:58 
Questionconstructing own tcp/ip header Pin
Member 458420114-Jan-09 0:59
Member 458420114-Jan-09 0:59 
AnswerRe: constructing own tcp/ip header Pin
Dave Kreskowiak14-Jan-09 3:39
mveDave Kreskowiak14-Jan-09 3:39 
Questionstoring Data from textbox created At runtime? Pin
developer.ravish14-Jan-09 0:53
developer.ravish14-Jan-09 0:53 
public partial class try1 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{


}



protected override void OnInit(EventArgs e)
{
base.OnInit(e);
string query_ddl = "select range from DDLValue";
SqlDataAdapter da = new SqlDataAdapter(query_ddl, con);
DataSet ds = new DataSet();
con.Open();
da.Fill(ds);
con.Close();
ddl_value.DataSource = ds;
ddl_value.DataTextField = "Range";
ddl_value.DataValueField = "Range";
ddl_value.DataBind();
}
protected void ddl_value_SelectedIndexChanged(object sender, EventArgs e)
{
createTextbox();
}

private void createTextbox()
{
string selectedValue = ddl_value.SelectedValue;
if (!string.IsNullOrEmpty(selectedValue))
{
int aSample = Convert.ToInt32(selectedValue);
for (int i = 0; i > aSample; i++)
{
TextBox txtbox = new TextBox();
txtbox.ID = "txt" + i.ToString();
Button1.Click += new EventHandler(Button1_Click);
PH1.Controls.Add(txtbox);
}
}

}
protected void Button1_Click(object sender, EventArgs e)
{


}

}
}

How insert Data from Textbox at Button_click
AnswerRe: storing Data from textbox created At runtime? Pin
Tom Deketelaere14-Jan-09 1:25
professionalTom Deketelaere14-Jan-09 1:25 
GeneralRe: storing Data from textbox created At runtime? Pin
developer.ravish14-Jan-09 2:32
developer.ravish14-Jan-09 2:32 
GeneralRe: storing Data from textbox created At runtime? [modified] Pin
Tom Deketelaere14-Jan-09 2:44
professionalTom Deketelaere14-Jan-09 2:44 
GeneralRe: storing Data from textbox created At runtime? Pin
developer.ravish14-Jan-09 19:19
developer.ravish14-Jan-09 19:19 
GeneralRe: storing Data from textbox created At runtime? Pin
Tom Deketelaere14-Jan-09 20:53
professionalTom Deketelaere14-Jan-09 20:53 
GeneralRe: storing Data from textbox created At runtime? Pin
developer.ravish15-Jan-09 1:00
developer.ravish15-Jan-09 1:00 
GeneralRe: storing Data from textbox created At runtime? Pin
Tom Deketelaere15-Jan-09 1:30
professionalTom Deketelaere15-Jan-09 1:30 
GeneralRe: storing Data from textbox created At runtime? Pin
developer.ravish15-Jan-09 2:36
developer.ravish15-Jan-09 2:36 
Questionc# Pin
amcikaljaber14-Jan-09 0:01
amcikaljaber14-Jan-09 0:01 

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.