Click here to Skip to main content
15,895,792 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: generating specific format Pin
Andy_L_J5-Dec-11 21:56
Andy_L_J5-Dec-11 21:56 
QuestionUnzip, Zip file in asp.net Pin
Mugdha_Aditya5-Dec-11 3:02
Mugdha_Aditya5-Dec-11 3:02 
AnswerRe: Unzip, Zip file in asp.net Pin
DigiOz Multimedia5-Dec-11 4:48
DigiOz Multimedia5-Dec-11 4:48 
AnswerRe: Unzip, Zip file in asp.net Pin
Jon Myers5-Dec-11 11:01
Jon Myers5-Dec-11 11:01 
QuestionOn Displaying the Records Retrieved Through Data Reader Pin
FerdinandDLDR2-Dec-11 7:33
FerdinandDLDR2-Dec-11 7:33 
AnswerRe: On Displaying the Records Retrieved Through Data Reader Pin
jkirkerx2-Dec-11 11:42
professionaljkirkerx2-Dec-11 11:42 
GeneralRe: On Displaying the Records Retrieved Through Data Reader Pin
FerdinandDLDR6-Dec-11 15:58
FerdinandDLDR6-Dec-11 15:58 
AnswerRe: On Displaying the Records Retrieved Through Data Reader Pin
syed muneem5-Dec-11 1:56
syed muneem5-Dec-11 1:56 
Hi,

For displaying scroll bar in grid view you can use an asp:panel.
<asp:panel id="pnlGrid" runat="server" <b="">Scrollbars="Vertical"/>

On The Edit button click you can use another panel and show it when you edit a grid view row.
This panel would consists of text boxes which would display the selected row's details in brief.
You can use grid view rowcommand event for displaying details of the selected row
<asp:templatefield headertext="ID">
<itemtemplate>
<asp:linkbutton id="lnkbtnEdit" runat="server" commandargument="<%#Eval("ID")%>" commandname="Select">


Note:Eval is a databinding expression.
You can maintain the datasource in session
and filter values in datasource based upon the command argument.

protected void GridView_RowCommand(object sender, GridViewCommandEventArgs e)
{
if(e.CommandName=="Select")
{
string ID=Convert.ToString(e.CommandArgument.ToString());
DataView gridviewData=(DataView)this.Session["DS"];
SQL
DataRow[] selectedRow = gridviewData.Table.Select("ID=" + ID);
                            if (selectedRow[0] != null)
                            {
DataRowW currRow=selectedRow[0];
txtEmailadd.text=currRow["EmailAdd"].tostring();

}


}
           
}
<div class="signature">Cheers
SyedMuneem</div>

GeneralRe: On Displaying the Records Retrieved Through Data Reader Pin
FerdinandDLDR6-Dec-11 15:54
FerdinandDLDR6-Dec-11 15:54 
GeneralRe: On Displaying the Records Retrieved Through Data Reader Pin
jkirkerx6-Dec-11 16:18
professionaljkirkerx6-Dec-11 16:18 
QuestionShow compound field in gridview Pin
Elham M2-Dec-11 2:40
Elham M2-Dec-11 2:40 
AnswerRe: Show compound field in gridview Pin
thatraja2-Dec-11 3:06
professionalthatraja2-Dec-11 3:06 
GeneralRe: Show compound field in gridview Pin
Elham M2-Dec-11 18:48
Elham M2-Dec-11 18:48 
Questionhow to load another page in asp.net page(C#)? Pin
Far sh1-Dec-11 15:47
Far sh1-Dec-11 15:47 
AnswerRe: how to load another page in asp.net page(C#)? Pin
Not Active1-Dec-11 17:05
mentorNot Active1-Dec-11 17:05 
Questionhow to make a web page? Pin
nik_utm1-Dec-11 14:46
nik_utm1-Dec-11 14:46 
Answercross post Pin
Not Active1-Dec-11 17:00
mentorNot Active1-Dec-11 17:00 
QuestionReferencing User Control Attributes in Page Code Behind Pin
janetb991-Dec-11 11:40
janetb991-Dec-11 11:40 
AnswerRe: Referencing User Control Attributes in Page Code Behind Pin
jkirkerx1-Dec-11 11:55
professionaljkirkerx1-Dec-11 11:55 
GeneralRe: Referencing User Control Attributes in Page Code Behind Pin
janetb992-Dec-11 4:55
janetb992-Dec-11 4:55 
GeneralRe: Referencing User Control Attributes in Page Code Behind Pin
janetb992-Dec-11 5:05
janetb992-Dec-11 5:05 
GeneralRe: Referencing User Control Attributes in Page Code Behind Pin
jkirkerx2-Dec-11 7:13
professionaljkirkerx2-Dec-11 7:13 
GeneralRe: Referencing User Control Attributes in Page Code Behind Pin
janetb992-Dec-11 7:57
janetb992-Dec-11 7:57 
GeneralRe: Referencing User Control Attributes in Page Code Behind Pin
jkirkerx2-Dec-11 7:32
professionaljkirkerx2-Dec-11 7:32 
GeneralRe: Referencing User Control Attributes in Page Code Behind Pin
janetb992-Dec-11 7:53
janetb992-Dec-11 7:53 

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.