Click here to Skip to main content
15,919,341 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionUploading a word file into server folder??? Pin
Malayil alex26-Apr-06 2:18
Malayil alex26-Apr-06 2:18 
AnswerRe: Uploading a word file into server folder??? Pin
Mike Ellison26-Apr-06 2:28
Mike Ellison26-Apr-06 2:28 
QuestionConverting DOC to PDF Pin
AnantAwadhut26-Apr-06 2:04
AnantAwadhut26-Apr-06 2:04 
AnswerRe: Converting DOC to PDF Pin
Mike Ellison26-Apr-06 2:31
Mike Ellison26-Apr-06 2:31 
AnswerRe: Converting DOC to PDF Pin
Vasudevan Deepak Kumar26-Apr-06 18:37
Vasudevan Deepak Kumar26-Apr-06 18:37 
QuestionSearch Text within Word Documents and Acrobat files Pin
neeraj_k7726-Apr-06 1:57
neeraj_k7726-Apr-06 1:57 
AnswerRe: Search Text within Word Documents and Acrobat files Pin
Mike Ellison26-Apr-06 2:36
Mike Ellison26-Apr-06 2:36 
Questioncheckboxlist Pin
ritu432126-Apr-06 1:45
ritu432126-Apr-06 1:45 
i am having a checkboxlist in gridview . I have populated with sql database by
<asp:templatefield headertext="Select">
<itemtemplate>
<asp:checkbox id="CheckBox1" text="<%# DataBinder.Eval(Container.DataItem,"cg_type")%>" runat="server">


now i want to get the value of the checkboxes which are clicked on button clicked event.

protected void Button1_Click(object sender, EventArgs e)
{
StringBuilder str=new StringBuilder();
string str1;

for (int i = 0; i < GridView1.Rows.Count; i++)
{
GridViewRow row = GridView1.Rows[i];
bool isChecked = ((CheckBox)row.FindControl("CheckBox1")).Checked;

if (isChecked)
{

str.Append(GridView1.Rows[i].Cells[1].ToString());
str.Append(",");
}
}
str1 = str.ToString();
}

But i am not getting the values ??? can anyone help me out ???
AnswerRe: checkboxlist Pin
Mike Ellison26-Apr-06 2:38
Mike Ellison26-Apr-06 2:38 
QuestionSession End problem Pin
yogsworld26-Apr-06 1:37
yogsworld26-Apr-06 1:37 
AnswerRe: Session End problem Pin
J4amieC26-Apr-06 2:18
J4amieC26-Apr-06 2:18 
Questionarray Pin
ptvce26-Apr-06 1:23
ptvce26-Apr-06 1:23 
AnswerRe: array Pin
Rob Philpott26-Apr-06 6:00
Rob Philpott26-Apr-06 6:00 
QuestionHide column in gridview filled by dataset Pin
dumser126-Apr-06 1:06
dumser126-Apr-06 1:06 
AnswerRe: Hide column in gridview filled by dataset Pin
minhpc_bk26-Apr-06 16:20
minhpc_bk26-Apr-06 16:20 
QuestionBinding DataGrid Control in user friendly way? Pin
k_bhawna26-Apr-06 1:03
k_bhawna26-Apr-06 1:03 
AnswerRe: Binding DataGrid Control in user friendly way? Pin
sathish s26-Apr-06 1:52
sathish s26-Apr-06 1:52 
Questionmy datagrid`s template column's textbox and label are coming in a single column Pin
MissionSuccess26-Apr-06 0:56
MissionSuccess26-Apr-06 0:56 
AnswerRe: my datagrid`s template column's textbox and label are coming in a single column Pin
minhpc_bk26-Apr-06 16:10
minhpc_bk26-Apr-06 16:10 
QuestionSome problem regarding site. Pin
Chetan Ranpariya26-Apr-06 0:39
Chetan Ranpariya26-Apr-06 0:39 
AnswerRe: Some problem regarding site. Pin
enjoycrack26-Apr-06 0:52
enjoycrack26-Apr-06 0:52 
GeneralRe: Some problem regarding site. Pin
Chetan Ranpariya26-Apr-06 18:25
Chetan Ranpariya26-Apr-06 18:25 
GeneralRe: Some problem regarding site. Pin
VaibhavJ26-Apr-06 19:06
VaibhavJ26-Apr-06 19:06 
GeneralRe: Some problem regarding site. Pin
Chetan Ranpariya26-Apr-06 19:18
Chetan Ranpariya26-Apr-06 19:18 
GeneralRe: Some problem regarding site. Pin
enjoycrack26-Apr-06 20:12
enjoycrack26-Apr-06 20:12 

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.