Click here to Skip to main content
15,884,099 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: append data in xml file Pin
pinna_hari17-Dec-08 20:34
pinna_hari17-Dec-08 20:34 
AnswerRe: append data in xml file Pin
Brij17-Dec-08 19:13
mentorBrij17-Dec-08 19:13 
QuestionI want These Link in C# Which i got From Code Project (Convert VC++ to C#) Pin
shavil17-Dec-08 18:32
shavil17-Dec-08 18:32 
AnswerRe: I want These Link in C# Which i got From Code Project (Convert VC++ to C#) Pin
Expert Coming17-Dec-08 18:37
Expert Coming17-Dec-08 18:37 
AnswerRe: I want These Link in C# Which i got From Code Project (Convert VC++ to C#) Pin
Abhijit Jana17-Dec-08 18:43
professionalAbhijit Jana17-Dec-08 18:43 
AnswerRe: I want These Link in C# Which i got From Code Project (Convert VC++ to C#) Pin
Brij17-Dec-08 19:02
mentorBrij17-Dec-08 19:02 
AnswerRe: I want These Link in C# Which i got From Code Project (Convert VC++ to C#) [modified] Pin
Christian Graus17-Dec-08 19:05
protectorChristian Graus17-Dec-08 19:05 
QuestionHow to insert value in Database from dynamic textbox? Pin
developer.ravish17-Dec-08 18:11
developer.ravish17-Dec-08 18:11 
Hi

I have to insert value in db from textbox which create at runtime i have done the coding the for creating it
but need help in inserting value in Database?


protected void Page_Load(object sender, EventArgs e)
{
if (Page.IsPostBack)
{
if (txtbox.Text != "")
{
CreateControl();

}

}
}

private void CreateControl()
{
TextBox txttest;
LiteralControl LCT1;
for(int i=0; i <= Convert.ToInt32(txtbox.Text)-1;i++)
{

LCT1=new LiteralControl ();
LCT1.Text="
";
txttest=new TextBox ();
txttest.ID="txt"+ (i+1);
Panel1.Controls.Add(LCT1);
Panel1.Controls.Add(txttest);

}

}
protected void Button1_Click(object sender, EventArgs e)
{
for(int i=0; i<= Convert.ToInt32(txtbox.Text)-1;i++)
{
TextBox txtCntrl=(TextBox)Panel1.FindControl("txt"+(i+1));
if(txtCntrl != null)
{
TextBox tbox = new TextBox();
tbox.Text=tbox.Text + "tbox"+txtCntrl.Text;

}
}
}


any help
AnswerRe: How to insert value in Database from dynamic textbox? Pin
Christian Graus17-Dec-08 18:15
protectorChristian Graus17-Dec-08 18:15 
AnswerRe: How to insert value in Database from dynamic textbox? Pin
Brij17-Dec-08 19:19
mentorBrij17-Dec-08 19:19 
QuestionVisual Studio IDE Problem Pin
sajjadlashari17-Dec-08 18:05
sajjadlashari17-Dec-08 18:05 
AnswerRe: Visual Studio IDE Problem Pin
Abhijit Jana17-Dec-08 18:19
professionalAbhijit Jana17-Dec-08 18:19 
Questiononload remove browser toolbar Pin
Dushan12317-Dec-08 16:40
Dushan12317-Dec-08 16:40 
AnswerRe: onload remove browser toolbar Pin
Christian Graus17-Dec-08 16:55
protectorChristian Graus17-Dec-08 16:55 
GeneralRe: onload remove browser toolbar Pin
Dushan12317-Dec-08 20:52
Dushan12317-Dec-08 20:52 
QuestionAspx page does not close. Pin
naveen67817-Dec-08 15:09
naveen67817-Dec-08 15:09 
AnswerRe: Aspx page does not close. Pin
naveen67817-Dec-08 15:16
naveen67817-Dec-08 15:16 
AnswerRe: Aspx page does not close. Pin
N a v a n e e t h17-Dec-08 16:32
N a v a n e e t h17-Dec-08 16:32 
QuestionKnowing the sender for CheckBoxList Pin
Ekjon17-Dec-08 12:49
Ekjon17-Dec-08 12:49 
AnswerRe: Knowing the sender for CheckBoxList Pin
N a v a n e e t h17-Dec-08 16:33
N a v a n e e t h17-Dec-08 16:33 
GeneralRe: Knowing the sender for CheckBoxList [modified] Pin
Ekjon17-Dec-08 18:11
Ekjon17-Dec-08 18:11 
QuestionRetrieve QueryString Pin
kavitha_blueindia17-Dec-08 10:47
kavitha_blueindia17-Dec-08 10:47 
AnswerRe: Retrieve QueryString Pin
Expert Coming17-Dec-08 12:52
Expert Coming17-Dec-08 12:52 
AnswerRe: Retrieve QueryString Pin
Brij17-Dec-08 17:15
mentorBrij17-Dec-08 17:15 
QuestionA recompiling question... Pin
Nostrom017-Dec-08 9:20
Nostrom017-Dec-08 9:20 

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.