Click here to Skip to main content
15,909,896 members
Home / Discussions / Article Writing
   

Article Writing

 
Questionjava and C# interoperability Pin
John Willcox11-Jun-08 9:55
John Willcox11-Jun-08 9:55 
AnswerRe: java and C# interoperability Pin
Pete O'Hanlon11-Jun-08 10:23
mvePete O'Hanlon11-Jun-08 10:23 
QuestionPDF Manipulation Classes Pin
Zhirayr Avetisyan10-Jun-08 0:21
Zhirayr Avetisyan10-Jun-08 0:21 
AnswerWrong forum - this is for article requests and ideas; not pleas for help Pin
Pete O'Hanlon10-Jun-08 1:17
mvePete O'Hanlon10-Jun-08 1:17 
Questionc# user login information Pin
kingkeamo29-May-08 0:26
kingkeamo29-May-08 0:26 
AnswerWrong forum Pin
Pete O'Hanlon29-May-08 1:43
mvePete O'Hanlon29-May-08 1:43 
Questionreally simple but completly stumped Pin
samuelgamlin25-May-08 4:01
samuelgamlin25-May-08 4:01 
Questionadd check box in gridview and get the checked rows into another gridview in c#.net Pin
senpriya23-May-08 0:20
senpriya23-May-08 0:20 
Here the problem is iam not able to capture the checked check boxes for every checked checked boxes i get checked value as false in c#.net.
here is the asp .net code

<asp:gridview runat="server" id="gridview1" visible="true">
AutoGenerateColumns="false"
Font-Bold="true"
ForeColor="#003300" OnRowDataBound="gridview1_RowDataBound"
Width="186px" OnSelectedIndexChanged="gridview1_SelectedIndexChanged" OnRowCreated="gridview1_RowCreated">
<columns> <asp:commandfield showselectbutton="True">

<asp:boundfield datafield="Name" headertext="Name">
InsertVisible="False" ReadOnly="True" SortExpression="Name" />
<asp:boundfield datafield="ID" headertext="ID">
SortExpression="ID" />

<asp:templatefield headertext="select">
<itemtemplate>
<asp:checkbox id="chk1" runat="server">;
<itemtemplate>








<asp:button id="Button1" runat="server" önclick="Button1_Click">
this id the code behind

protected void Button1_Click(object sender, EventArgs e)
{

foreach (GridViewRow row in gridview1.Rows)
{
DataTable dt=new DataTable();
dt.Columns.Add(new DataColumn("Name", typeof(string)));
dt.Columns.Add(new DataColumn("ID", typeof(string)));

CheckBox Check = (CheckBox)row.Cells[3].FindControl("chk1");
if (Check.Checked)
{
dt.Rows.Add();
dt.Rows.Add(row);
}
}

}


plz find a solution for this at the earliest .

with regards,
N.Priya.


priya

priya

AnswerStill the incorrect forum Pin
Pete O'Hanlon23-May-08 2:19
mvePete O'Hanlon23-May-08 2:19 
Questionadd popup calender in gridview Pin
senpriya23-May-08 0:08
senpriya23-May-08 0:08 
AnswerIncorrect forum Pin
Pete O'Hanlon23-May-08 2:19
mvePete O'Hanlon23-May-08 2:19 
AnswerRe: add popup calender in gridview Pin
Paul Conrad29-Jun-08 19:42
professionalPaul Conrad29-Jun-08 19:42 
Questionadd checkbox in gidview and select the checked rows in gridview to another gridview Pin
senpriya23-May-08 0:05
senpriya23-May-08 0:05 
AnswerWrong forum Pin
Pete O'Hanlon23-May-08 2:18
mvePete O'Hanlon23-May-08 2:18 
QuestionOnLoad Event in Corel Draw Pin
raja baireddy16-May-08 4:29
raja baireddy16-May-08 4:29 
QuestionArticle advice Pin
73Zeppelin15-May-08 22:42
73Zeppelin15-May-08 22:42 
AnswerRe: Article advice Pin
Hesham Amin16-May-08 20:51
Hesham Amin16-May-08 20:51 
AnswerRe: Article advice Pin
Thomas Stockwell2-Jul-08 3:14
professionalThomas Stockwell2-Jul-08 3:14 
QuestionUSB Management [modified] Pin
fatalwall12-May-08 16:19
fatalwall12-May-08 16:19 
QuestionCalculating PPVrequest Pin
influxsam8-May-08 21:39
influxsam8-May-08 21:39 
AnswerRe: Calculating PPVrequest Pin
Pete O'Hanlon8-May-08 21:56
mvePete O'Hanlon8-May-08 21:56 
AnswerRe: Calculating PPVrequest Pin
Cedric Moonen9-May-08 1:19
Cedric Moonen9-May-08 1:19 
QuestionHardware specific article Pin
Broken Bokken7-May-08 8:46
Broken Bokken7-May-08 8:46 
Question"which one is smaller n pow 2, 1000 pow n, n pow n, n pow 1000 , when n value is nearer to infinite" Pin
huma satti4-May-08 20:57
huma satti4-May-08 20:57 
AnswerHomework and wrong forum Pin
Pete O'Hanlon5-May-08 9:06
mvePete O'Hanlon5-May-08 9:06 

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.