Click here to Skip to main content
16,016,925 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Host and windows account Pin
Ashfield22-Sep-08 4:10
Ashfield22-Sep-08 4:10 
QuestionEncryption Pin
mehrdadc4822-Sep-08 0:03
mehrdadc4822-Sep-08 0:03 
AnswerRe: Encryption Pin
Paddy Boyd22-Sep-08 0:36
Paddy Boyd22-Sep-08 0:36 
QuestionDatagrid or gridview whith insert button Pin
amina8921-Sep-08 23:58
amina8921-Sep-08 23:58 
AnswerRe: Datagrid or gridview whith insert button Pin
Prashant B. Lavate22-Sep-08 1:25
Prashant B. Lavate22-Sep-08 1:25 
AnswerRe: Datagrid or gridview whith insert button Pin
amina8922-Sep-08 1:43
amina8922-Sep-08 1:43 
QuestionRe: Datagrid or gridview whith insert button Pin
amina8922-Sep-08 3:31
amina8922-Sep-08 3:31 
QuestionRe: Datagrid or gridview whith insert button Pin
amina8924-Sep-08 2:34
amina8924-Sep-08 2:34 
Hi;
i havn't solution
Each teacher will have the GridView before him he should write notes of all students, and then save them in the db .The problem is how to store this data just by clicking a button (not for each student but the list).

Update the column is possible :



1 foreach (GridViewRow row in GridView1.Rows)
2 {
3 sb.Append("UPDATE EPREUVE SET NOTE = '");
4 sb.Append((row.FindControl("txtLastNote") as TextBox).Text);
5 sb.Append("'");
6 sb.Append("WHERE ID_ELEVE = ");
7 sb.Append(Convert.ToInt32((row.FindControl("lblUserID") as Label).Text));
8
9 sb.Append(" and CODE_MATIERE=");
10
11 sb.Append(Convert.ToInt32((row.FindControl("lblfield") as Label).Text));
12 sb.Append(" and CODE_ANNEE_UNIVERSITAIRE='" + DropDownList1.SelectedItem + "'");
13 sb.Append("");
14
15 sb.Append("");
16
17 sb.Append("");
23 }
24
I try to do the same thing to insert
QuestionChange Password Policy thru .NET Pin
Tripathi Swati21-Sep-08 23:52
Tripathi Swati21-Sep-08 23:52 
AnswerRe: Change Password Policy thru .NET Pin
Paddy Boyd22-Sep-08 0:39
Paddy Boyd22-Sep-08 0:39 
Questiondatagrid problem Pin
Kissy1621-Sep-08 23:37
Kissy1621-Sep-08 23:37 
AnswerRe: datagrid problem Pin
Karan_TN21-Sep-08 23:53
Karan_TN21-Sep-08 23:53 
GeneralRe: datagrid problem Pin
Kissy1621-Sep-08 23:55
Kissy1621-Sep-08 23:55 
AnswerRe: datagrid problem Pin
Prashant B. Lavate22-Sep-08 1:31
Prashant B. Lavate22-Sep-08 1:31 
GeneralRe: datagrid problem Pin
Kissy1622-Sep-08 1:49
Kissy1622-Sep-08 1:49 
QuestionImage Pin
mary_sa21-Sep-08 23:23
mary_sa21-Sep-08 23:23 
AnswerRe: Image Pin
Prashant B. Lavate21-Sep-08 23:24
Prashant B. Lavate21-Sep-08 23:24 
GeneralRe: Image Pin
mary_sa21-Sep-08 23:36
mary_sa21-Sep-08 23:36 
GeneralRe: Image Pin
Prashant B. Lavate22-Sep-08 1:20
Prashant B. Lavate22-Sep-08 1:20 
GeneralRe: Image Pin
mary_sa22-Sep-08 1:43
mary_sa22-Sep-08 1:43 
QuestionImporing Contacts from Orkut,facebook. Pin
Prashant B. Lavate21-Sep-08 23:13
Prashant B. Lavate21-Sep-08 23:13 
QuestionHyperlink in gridview (columns are created dynamically) [modified] Pin
Karan_TN21-Sep-08 22:38
Karan_TN21-Sep-08 22:38 
Questionchanging header text in the accordian control dynamically Pin
Krazy Programmer21-Sep-08 22:22
Krazy Programmer21-Sep-08 22:22 
AnswerRe: changing header text in the accordian control dynamically Pin
Prashant B. Lavate21-Sep-08 23:31
Prashant B. Lavate21-Sep-08 23:31 
GeneralRe: changing header text in the accordian control dynamically Pin
Krazy Programmer22-Sep-08 0:37
Krazy Programmer22-Sep-08 0:37 

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.