hi i have a problem regarding to datagrid in aspdotnet.i
have a datagrid in my application.i have to place
add,edit,delete buttons or links what ever it may be.
now the problem is if i click on add button then the page
has to redirected to another form called "xyz.aspx" and if
i click on edit button the page has to redirected to
another form called "abc.aspx".i am phasing the problem
that if where ever i click on the datagrid the cursor goes
to gv1_SelectedIndexChanged event.please tell me the
solution about the code.
Answer Posted / sasireddy
Hey,
There is one more option do that.i.e. Take one
Tepletecolumn,in that u should like this
<asp:TemplateColumn HeaderText="Add/Edit/Delete">
<ItemTemplate>
<font face="verdan" size="2"><a href="Add.aspx"
runat="server" ID="A1">Add</a> <a
href="Edit.aspx" runat="server"
ID="A2">Edit</a> <a href="Delete.aspx"
runat="server" ID="A3">Delete</a>
</font>
</ItemTemplate>
</asp:TemplateColumn>
from this you can do Process.......
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
A web service can only be written in .net? State whether true or false.
How long the items in ViewState exists?
What is difference between session and application in asp net?
how to debug web services on consumer side?
How can i explain my project during interview?many time i expalain my project but they did't accept? please explain me.
How to find last error which occurred in Asp.net ?
What is enableviewstatemac in asp net?
Asp pages that worked pefectly on windows 2000 server and iis 5.0 do not work on windows 2003 server with iis 6.0. Asp.net pages work fine. Why?
What is cookies cache and session?
Where is asp.net view state stored?
How would you implement inheritance using c#?
Where do the cookie state and session state information be stored?
What is the difference between executescalar and executenonquery?
Can the dictionary object be created in client?s scope ?
What are the new navigation controls in asp.net 2.0?