Click here to Skip to main content
16,005,222 members
Home / Discussions / C#
   

C#

 
AnswerRe: to enlarge a window horizzontally Pin
Steve Echols21-Nov-06 20:17
Steve Echols21-Nov-06 20:17 
JokeRe: to enlarge a window horizzontally Pin
Martin#21-Nov-06 20:24
Martin#21-Nov-06 20:24 
GeneralRe: to enlarge a window horizzontally Pin
Steve Echols21-Nov-06 20:27
Steve Echols21-Nov-06 20:27 
GeneralRe: to enlarge a window horizzontally (not vertically)[modified] Pin
Stefan Troschuetz21-Nov-06 21:19
Stefan Troschuetz21-Nov-06 21:19 
QuestionLoad XML data into treeview [modified] Pin
GermanDM21-Nov-06 19:45
GermanDM21-Nov-06 19:45 
AnswerRe: Load XML data into treeview Pin
beatles169221-Nov-06 20:27
beatles169221-Nov-06 20:27 
QuestionNeed Examples/Course Link about {Set CSS Class} in Crystal Report Pin
M Riaz Bashir21-Nov-06 19:43
M Riaz Bashir21-Nov-06 19:43 
Questiongridview and linkbutton Pin
ashu.singh21-Nov-06 19:37
ashu.singh21-Nov-06 19:37 
hi everybody,

i was working with gridview with a column in it where i added a linkbutton to it after making a temolatefield.i need to pass a value with it that is there in gridview. my code is like this :


'<asp:TemplateField>
<ItemTemplate>
<asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click" CommandName='<%#
"Default2.aspx?diaryid=" + Eval("diaryid")%>' Text='<%
#Eval("diaryid") %>' Style="position: static"></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>'

code behind is :
protected void LinkButton1_Click(object sender, EventArgs e)
{

LinkButton lb = (LinkButton)sender;

Server.Transfer(lb.CommandName);

}


i think ihv passed the value correctly,but i dont know how to fetch it in a label on next page.


thanks in advance.



AnswerRe: gridview and linkbutton Pin
MIHAI_MTZ22-Nov-06 1:38
MIHAI_MTZ22-Nov-06 1:38 
Questioncheckbox Pin
saurabh.lucky21-Nov-06 19:32
saurabh.lucky21-Nov-06 19:32 
AnswerRe: checkbox Pin
M Riaz Bashir21-Nov-06 19:35
M Riaz Bashir21-Nov-06 19:35 
GeneralRe: checkbox Pin
ashu.singh21-Nov-06 19:42
ashu.singh21-Nov-06 19:42 
GeneralRe: checkbox Pin
Neha_Gupta21-Nov-06 19:51
Neha_Gupta21-Nov-06 19:51 
GeneralRe: checkbox Pin
ashu.singh21-Nov-06 19:56
ashu.singh21-Nov-06 19:56 
GeneralRe: checkbox Pin
Christian Graus21-Nov-06 20:02
protectorChristian Graus21-Nov-06 20:02 
QuestionCrystalReport Pin
Manithar21-Nov-06 18:54
Manithar21-Nov-06 18:54 
Questioninternal keyword [modified] Pin
amaneet21-Nov-06 18:30
amaneet21-Nov-06 18:30 
AnswerRe: internal keyword Pin
Christian Graus21-Nov-06 19:04
protectorChristian Graus21-Nov-06 19:04 
GeneralRe: internal keyword Pin
Dave Doknjas22-Nov-06 13:47
Dave Doknjas22-Nov-06 13:47 
Questionfile format Pin
saqib8221-Nov-06 18:01
saqib8221-Nov-06 18:01 
AnswerRe: file format Pin
Christian Graus21-Nov-06 19:03
protectorChristian Graus21-Nov-06 19:03 
GeneralRe: file format Pin
saqib8221-Nov-06 19:05
saqib8221-Nov-06 19:05 
GeneralRe: file format Pin
Christian Graus21-Nov-06 19:20
protectorChristian Graus21-Nov-06 19:20 
Questionhow to store sql connection string in web.config Pin
mwith21-Nov-06 17:45
mwith21-Nov-06 17:45 
AnswerRe: how to store sql connection string in web.config Pin
Shajeel21-Nov-06 20:26
Shajeel21-Nov-06 20:26 

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.