Click here to Skip to main content
15,891,896 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: touch screen application in C# Pin
Richard Deeming22-Jan-16 7:34
mveRichard Deeming22-Jan-16 7:34 
QuestionRe: touch screen application in C# Pin
ZurdoDev9-Feb-16 8:37
professionalZurdoDev9-Feb-16 8:37 
QuestionEncrypted Web.Config files and Updates Pin
redtwister12-Jan-16 9:03
redtwister12-Jan-16 9:03 
AnswerRe: Encrypted Web.Config files and Updates Pin
ZurdoDev13-Jan-16 3:02
professionalZurdoDev13-Jan-16 3:02 
GeneralRe: Encrypted Web.Config files and Updates Pin
redtwister13-Jan-16 4:28
redtwister13-Jan-16 4:28 
QuestionA namespace cannot directly contain members such as fields or methods Pin
indian14311-Jan-16 14:46
indian14311-Jan-16 14:46 
AnswerRe: A namespace cannot directly contain members such as fields or methods Pin
deepankarbhatnagar12-Jan-16 1:01
professionaldeepankarbhatnagar12-Jan-16 1:01 
QuestionSaving the Values entering dynamically created Textbox into database Pin
Member 1062539411-Jan-16 0:48
Member 1062539411-Jan-16 0:48 
How do I save the values entering into textbox that is dynamically created to database

My Code
for (int i = 0; i < Grid.Rows.Count; i++) //Grid.Rows.Count
{

//TextBox CC = (TextBox)Grid.Rows[i].Cells[2].FindControl("txtCA");
//TextBox CC1 = (TextBox)Grid.Rows[i].Cells[2].FindControl("txtCA") as TextBox;
string StdMat = Grid.Rows[i].Cells[0].Text;
string CA = ((TextBox)Grid.Rows[i].Cells[2].FindControl("txtCA")).Text;

string UserID = Grid.Rows[i].Cells[1].Text;

Response.Write("CA= " + CC1 + "<br>");


MySqlCommand cmdd = new MySqlCommand("UPDATE resultstable2 SET CA=@ca WHERE student_ID=@student_ID", conn);// coursecode=@coursecode
cmdd.Parameters.AddWithValue("@ca", CA);
cmdd.Parameters.AddWithValue("@coursecode", cboCourseCode.Text);
cmdd.Parameters.AddWithValue("@student_ID", StdMat);
cmdd.ExecuteNonQuery();
}

-- modified 11-Jan-16 7:02am.
AnswerRe: Saving the Values entering dynamically created Textbox into database Pin
deepankarbhatnagar12-Jan-16 0:25
professionaldeepankarbhatnagar12-Jan-16 0:25 
QuestionUse store Proc in NetTier code smith Pin
indian14310-Jan-16 17:18
indian14310-Jan-16 17:18 
QuestionFILL HTML.EDITFOR FIELDS ON BUTTON CLICK IN ASP.NET MVC Pin
pathllk10-Jan-16 4:27
pathllk10-Jan-16 4:27 
AnswerRe: FILL HTML.EDITFOR FIELDS ON BUTTON CLICK IN ASP.NET MVC Pin
Nathan Minier11-Jan-16 2:06
professionalNathan Minier11-Jan-16 2:06 
GeneralRe: FILL HTML.EDITFOR FIELDS ON BUTTON CLICK IN ASP.NET MVC Pin
deepankarbhatnagar12-Jan-16 0:14
professionaldeepankarbhatnagar12-Jan-16 0:14 
Questionhow to compare two text box values Pin
Member 122511847-Jan-16 18:34
Member 122511847-Jan-16 18:34 
AnswerRe: how to compare two text box values Pin
F-ES Sitecore7-Jan-16 21:51
professionalF-ES Sitecore7-Jan-16 21:51 
SuggestionRe: how to compare two text box values Pin
bVagadishnu8-Jan-16 7:36
bVagadishnu8-Jan-16 7:36 
GeneralRe: how to compare two text box values Pin
Richard Deeming8-Jan-16 7:47
mveRichard Deeming8-Jan-16 7:47 
GeneralRe: how to compare two text box values Pin
bVagadishnu8-Jan-16 9:37
bVagadishnu8-Jan-16 9:37 
AnswerRe: how to compare two text box values Pin
Richard MacCutchan7-Jan-16 22:14
mveRichard MacCutchan7-Jan-16 22:14 
QuestionTextbox is losing its value in PostBack Pin
indian1436-Jan-16 10:45
indian1436-Jan-16 10:45 
AnswerRe: Textbox is losing its value in PostBack Pin
JHizzle6-Jan-16 22:30
JHizzle6-Jan-16 22:30 
QuestionRadEditor is disabled possibly because of AJAX Manager Pin
indian1435-Jan-16 16:00
indian1435-Jan-16 16:00 
AnswerRe: RadEditor is disabled possibly because of AJAX Manager Pin
JHizzle6-Jan-16 3:41
JHizzle6-Jan-16 3:41 
GeneralRe: RadEditor is disabled possibly because of AJAX Manager Pin
indian1436-Jan-16 10:33
indian1436-Jan-16 10:33 
QuestionAbout Online Shopping In Asp.net and linq Pin
SunnyMistry0074-Jan-16 22:36
SunnyMistry0074-Jan-16 22:36 

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.