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

ASP.NET

 
GeneralRe: Accessing my ASP pages from other PC Pin
Sherin Iranimose21-May-07 23:07
Sherin Iranimose21-May-07 23:07 
GeneralRe: Accessing my ASP pages from other PC Pin
pradeep kumarappagari21-May-07 23:40
pradeep kumarappagari21-May-07 23:40 
AnswerRe: Accessing my ASP pages from other PC Pin
GgAben22-May-07 0:05
GgAben22-May-07 0:05 
Questionto expire the page and control in form Pin
Balaji.K21-May-07 22:03
Balaji.K21-May-07 22:03 
AnswerRe: to expire the page and control in form Pin
enjoycrack21-May-07 23:06
enjoycrack21-May-07 23:06 
AnswerRe: to expire the page and control in form Pin
Guffa21-May-07 23:34
Guffa21-May-07 23:34 
QuestionhaGridview + asp.net 2.0 + c# Pin
ritu432121-May-07 21:07
ritu432121-May-07 21:07 
AnswerRe: haGridview + asp.net 2.0 + c# Pin
pradeep kumarappagari21-May-07 21:56
pradeep kumarappagari21-May-07 21:56 
write as fallows in button click...........
i did it in asp.net1.1, i hope this will help u....

private void Button2_Click(object sender, System.EventArgs e)
{
CheckBox chk;
Label lbl;
string str="",streid="";

foreach(DataGridItem dgitem in DataGrid1.Items)
{
chk=(CheckBox)dgitem.FindControl("CheckBox1");
if(chk.Checked)
{
lbl=(Label)dgitem.FindControl("Label9");
str=lbl.Text;
streid =string.Concat(str,",",streid);
}
}
streid=streid.TrimEnd(',');
cmd=new SqlCommand("delete from emp where Eid in("+streid+")",con);
cmd.ExecuteNonQuery();
binddata();
}



Pradeep Reddy

Questionurgent Pin
jamesmani2k521-May-07 20:26
jamesmani2k521-May-07 20:26 
AnswerRe: urgent Pin
Sherin Iranimose21-May-07 20:38
Sherin Iranimose21-May-07 20:38 
GeneralRe: urgent Pin
kapiljadhav21-May-07 22:23
kapiljadhav21-May-07 22:23 
GeneralRe: urgent Pin
Sherin Iranimose21-May-07 22:35
Sherin Iranimose21-May-07 22:35 
GeneralRe: urgent Pin
jamesmani2k522-May-07 18:19
jamesmani2k522-May-07 18:19 
Questionpage want to be display based on system properties..., Pin
Member 387988121-May-07 20:20
Member 387988121-May-07 20:20 
AnswerRe: page want to be display based on system properties..., Pin
Sherin Iranimose21-May-07 20:41
Sherin Iranimose21-May-07 20:41 
GeneralRe: page want to be display based on system properties..., Pin
Member 387988121-May-07 21:15
Member 387988121-May-07 21:15 
GeneralRe: page want to be display based on system properties..., Pin
Sherin Iranimose21-May-07 22:50
Sherin Iranimose21-May-07 22:50 
GeneralRe: page want to be display based on system properties..., Pin
Member 387988122-May-07 0:32
Member 387988122-May-07 0:32 
QuestionInvalid postback or callback argument. Pin
Imran Khan Pathan21-May-07 20:12
Imran Khan Pathan21-May-07 20:12 
Questionscrollup in textbox Pin
Balaji.K21-May-07 20:04
Balaji.K21-May-07 20:04 
AnswerRe: scrollup in textbox Pin
Sherin Iranimose21-May-07 22:44
Sherin Iranimose21-May-07 22:44 
Questionupadtion,deletion,modification in datagrid Pin
Balaji.K21-May-07 19:55
Balaji.K21-May-07 19:55 
QuestionAdding Two Numbers with out using + Operator Pin
Khan.Bangash21-May-07 19:36
Khan.Bangash21-May-07 19:36 
AnswerRe: Adding Two Numbers with out using + Operator Pin
Luka Grabarevic21-May-07 20:33
Luka Grabarevic21-May-07 20:33 
GeneralRe: Adding Two Numbers with out using + Operator Pin
Khan.Bangash21-May-07 20:48
Khan.Bangash21-May-07 20:48 

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.