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

ASP.NET

 
GeneralRe: Logout in ASP.NET? PinPopular
Christian Graus16-Oct-09 10:30
protectorChristian Graus16-Oct-09 10:30 
QuestionWeird Issue: Characters appearing in in postback by itself Pin
Steven M Hunt16-Oct-09 3:48
Steven M Hunt16-Oct-09 3:48 
AnswerRe: Weird Issue: Characters appearing in in postback by itself Pin
Not Active16-Oct-09 5:30
mentorNot Active16-Oct-09 5:30 
GeneralRe: Weird Issue: Characters appearing in in postback by itself Pin
Steven M Hunt19-Oct-09 6:43
Steven M Hunt19-Oct-09 6:43 
QuestionIE and anchors. Pin
JimBob SquarePants16-Oct-09 3:22
JimBob SquarePants16-Oct-09 3:22 
QuestionShowing the Virtual Directories of Remote Server Pin
Milind R Chavan16-Oct-09 1:24
Milind R Chavan16-Oct-09 1:24 
AnswerRe: Showing the Virtual Directories of Remote Server Pin
Abhijit Jana16-Oct-09 20:36
professionalAbhijit Jana16-Oct-09 20:36 
GeneralASP.NET 1.1 DataGrid Pin
Hafeez Pasha Mohamad16-Oct-09 0:00
Hafeez Pasha Mohamad16-Oct-09 0:00 
<asp:datagrid id="DATAGRID1" runat="server" Width="688px" GridLines="Horizontal" CellPadding="4"
BackColor="White" BorderWidth="3px" BorderStyle="Double" BorderColor="#336666" AutoGenerateColumns="False">
<SelectedItemStyle Font-Bold="True" ForeColor="White" CssClass="secondaryContentBoxLightBlue" BackColor="#339966"></SelectedItemStyle>
<EditItemStyle CssClass="secondaryContentBoxLightBlue"></EditItemStyle>
<AlternatingItemStyle CssClass="secondaryContentBoxLightBlue"></AlternatingItemStyle>
<ItemStyle ForeColor="#333333" CssClass="secondaryContentBoxLightBlue" BackColor="White"></ItemStyle>
<HeaderStyle Font-Size="X-Small" Font-Names="Arial" Font-Bold="True" HorizontalAlign="Center"
ForeColor="White" BackColor="SteelBlue"></HeaderStyle>
<FooterStyle ForeColor="#404040" BackColor="White"></FooterStyle>
<Columns>
<asp:TemplateColumn HeaderText="Rno">
<ItemTemplate>
<asp:TextBox id="TextBox1" runat="server" Width="230px" Text='<%# DataBinder.Eval(Container, "DataItem.Rno") %>'>
</asp:TextBox>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="StudentName">
<ItemTemplate>
<asp:TextBox id="TextBox2" width="90px" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.StuName") %>'>
</asp:TextBox>
</ItemTemplate>
</asp:TemplateColumn>

</Columns>
<PagerStyle HorizontalAlign="Center" ForeColor="White" BackColor="#336666" Mode="NumericPages"></PagerStyle>
</asp:datagrid>

code for saving:

button click code:



foreach(DataGridItem dgi in DATAGRID1.Items)

{

TextBox txtRno= (TextBox)(dgi.Cells[0].Controls[1]);
string RollNo= txtRno.Text.Trim();


TextBox txtStuName= (TextBox)(dgi.Cells[1].Controls[1]);
string StuName= txtStuName.Text.Trim();
}

Hafeez

GeneralRe: ASP.NET 1.1 DataGrid Pin
Ashfield16-Oct-09 1:31
Ashfield16-Oct-09 1:31 
Questionsite banner on aspx page ? Pin
AndyInUK15-Oct-09 23:41
AndyInUK15-Oct-09 23:41 
AnswerRe: site banner on aspx page ? Pin
Chetan Patel15-Oct-09 23:52
Chetan Patel15-Oct-09 23:52 
AnswerRe: site banner on aspx page ? Pin
Abhijit Jana16-Oct-09 0:46
professionalAbhijit Jana16-Oct-09 0:46 
GeneralRe: site banner on aspx page ? Pin
dan!sh 16-Oct-09 0:55
professional dan!sh 16-Oct-09 0:55 
AnswerRe: site banner on aspx page ? Pin
N a v a n e e t h16-Oct-09 0:57
N a v a n e e t h16-Oct-09 0:57 
QuestionWAP + NUnit + WebConfigurationManager Pin
saini arun15-Oct-09 22:40
saini arun15-Oct-09 22:40 
Questiondropdownlist Pin
m@dhu15-Oct-09 22:16
m@dhu15-Oct-09 22:16 
AnswerRe: dropdownlist Pin
Not Active16-Oct-09 2:42
mentorNot Active16-Oct-09 2:42 
QuestionIdentify whether a user is logged in or not Pin
tonymathewt15-Oct-09 22:12
professionaltonymathewt15-Oct-09 22:12 
AnswerRe: Identify whether a user is logged in or not Pin
Abhijit Jana16-Oct-09 0:42
professionalAbhijit Jana16-Oct-09 0:42 
GeneralRe: Identify whether a user is logged in or not Pin
tonymathewt16-Oct-09 23:21
professionaltonymathewt16-Oct-09 23:21 
QuestionHelp please Pin
JustWorking15-Oct-09 21:42
JustWorking15-Oct-09 21:42 
AnswerSOLUTION Pin
JustWorking15-Oct-09 21:55
JustWorking15-Oct-09 21:55 
QuestionRepeater & RadioButtonList Pin
kerrie@tardis.com.au15-Oct-09 21:29
kerrie@tardis.com.au15-Oct-09 21:29 
QuestionDynamic Tabs Pin
sriharsha_1215-Oct-09 21:12
sriharsha_1215-Oct-09 21:12 
AnswerRe: Dynamic Tabs Pin
Abhijit Jana16-Oct-09 0:43
professionalAbhijit Jana16-Oct-09 0:43 

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.