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
How to you can limit Access to Web API to Specific HTTP Verb?
What does ascx stand for?
Explain the basic functionality of garbage collector?
How is session id generated?
What is the application pool?
What is inheritance and an how it be used, example with an example?
What is enableviewstate in asp net?
Explain the Session state management options available with ASP.NET?
Is there any alternative to avoid name collisions other then Namespaces?
What is request and response in asp.net?
Which object wraps the state or data of a user?
What is DataGrid wheater its a Server Control or something else ?
1.What r collections? 2.What is .pdb file? 3.Is it possible to provide access to users in master page? 4.What is dirty n Phantom Read(SQL)? 5.What r different isolation levels(SQL)? 6.How to set authentication mode in web.config file?
What are the different types of sessions in asp.net? Name them?
Where would you use an ihttpmodule, and what are the limitations if any?