Click here to Skip to main content
16,004,887 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How to access a control created dynamically in a dynamically created table Pin
widget123-Jun-06 6:07
widget123-Jun-06 6:07 
GeneralRe: How to access a control created dynamically in a dynamically created table Pin
Dustin Metzgar23-Jun-06 6:24
Dustin Metzgar23-Jun-06 6:24 
GeneralRe: How to access a control created dynamically in a dynamically created table Pin
Dustin Metzgar23-Jun-06 5:39
Dustin Metzgar23-Jun-06 5:39 
QuestionNeed your help Pin
Rohit_daga23-Jun-06 1:50
Rohit_daga23-Jun-06 1:50 
AnswerRe: Need your help Pin
varshavmane23-Jun-06 3:19
varshavmane23-Jun-06 3:19 
AnswerRe: Need your help Pin
l0kke23-Jun-06 5:28
l0kke23-Jun-06 5:28 
Questiondeleting data base columns depends on check box value in a datagrid Pin
peter rankel23-Jun-06 1:44
peter rankel23-Jun-06 1:44 
AnswerRe: deleting data base columns depends on check box value in a datagrid [modified] Pin
mehnazash23-Jun-06 2:49
mehnazash23-Jun-06 2:49 
According to what i understood,this is how u can implement



foreach (DataGridItem dg in this.dgApproval.Items)
{
int i = 0;
//u use a for loop like this to find the template column of checkbox in data grid
if(((CheckBox)(dg.FindControl("CheckBox1"))).Checked == true)
{

//here i am retreiving the second column of datagrid as i neeeded it
//first column in data grid is the 0th column
string build_desc1=dg.Cells[1].Text.ToString();
//do what u want here... like i have written update query here
string query;
string query2;
query = "update build_master set approval_flag ="+ i +" where build_desc = '"+ build_desc1+"' ";

}
//make sure you bind the grid again to reflect the changes
BindGrid();
}

Happy Programming
Jiny

-- modified at 8:54 Friday 23rd June, 2006
QuestionJavaScript Pin
nevinda23-Jun-06 1:34
nevinda23-Jun-06 1:34 
AnswerRe: JavaScript Pin
Vasudevan Deepak Kumar23-Jun-06 2:08
Vasudevan Deepak Kumar23-Jun-06 2:08 
Questiondynamic Controls Pin
albCode23-Jun-06 1:27
albCode23-Jun-06 1:27 
AnswerRe: dynamic Controls Pin
l0kke23-Jun-06 5:44
l0kke23-Jun-06 5:44 
GeneralRe: dynamic Controls Pin
albCode25-Jun-06 20:48
albCode25-Jun-06 20:48 
AnswerRe: dynamic Controls Pin
minhpc_bk23-Jun-06 12:36
minhpc_bk23-Jun-06 12:36 
GeneralRe: dynamic Controls Pin
albCode25-Jun-06 20:49
albCode25-Jun-06 20:49 
Question.net 2.0 GridView Pin
fmardani23-Jun-06 1:25
fmardani23-Jun-06 1:25 
AnswerRe: .net 2.0 GridView Pin
minhpc_bk23-Jun-06 12:34
minhpc_bk23-Jun-06 12:34 
QuestionTwo Way Sorting in Datagrid..! [modified] Pin
wEb GuRu...23-Jun-06 1:19
wEb GuRu...23-Jun-06 1:19 
AnswerRe: Two Way Sorting in Datagrid..! Pin
BalasahebK23-Jun-06 4:57
BalasahebK23-Jun-06 4:57 
QuestionRegarding Objectdata Source Control Pin
ChennaiBabu23-Jun-06 1:13
ChennaiBabu23-Jun-06 1:13 
AnswerRe: Regarding Objectdata Source Control Pin
l0kke23-Jun-06 5:56
l0kke23-Jun-06 5:56 
QuestionJava Script is not working on Mozilla Firefox Pin
VenkataRamana.Gali23-Jun-06 1:09
VenkataRamana.Gali23-Jun-06 1:09 
Questiondomvalidator control Pin
yogesh m23-Jun-06 1:04
yogesh m23-Jun-06 1:04 
Questioninserting page breaks in xslt Pin
sanjay bollina23-Jun-06 0:58
sanjay bollina23-Jun-06 0:58 
AnswerRe: inserting page breaks in xslt Pin
Guffa23-Jun-06 1:03
Guffa23-Jun-06 1:03 

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.