i added button into gridview at designtime in first column.
after running the application if gridview get populated with data.
suppose it contain 4 rows.
if user click on button of 2nd row,i want show the message that you clicked 2nd row.
i.e. according to clicking of button i want to show the message of which row was clicked.
but how can i identify which button was clicked....
please, help me....
ya i used template column for the button and assign the event handler.
and when i clicked on button it goes to that event.
but i want to know the row index of that row where the button is located(which get clicked)
can you provid me code .....
actualy, i am showing the booking status in that gridview,first the status is 'in process'
after clicking on button which is in gridview, it should the modal popup,in modal popup
after clicking on 'ok' button, the status of booking should replaced with 'cancel req.'
and for this purpose i want to know the row index of that gridview...
so please, help me...
thanks to all of you by helping me
i the problem get solved by me...
i get the rowindex of the button by rowIndex of button's parent's parent
this is written at the event which is assigned to the button at design time in template column...
Protected Sub btnCancelClick(ByVal sender As Object, ByVal e As System.EventArgs)
Dim intRowIndex as Integer=sender.Parent.Parent.RowIndex
I have developed small web application using ASP.Net and MySQL. I need to access this application using IP address from my friend system(In Office). Is it possible? I am having Windows XP.
From Windows 2003 Server I am hosting that web application and changed localhost to IP Address and its possible to access from others system. (ie) Server IP address (http://188.8.131.52/VDR/Login.aspx)
For sorting just have a look msdn
For images,you can put the images in header,put both image up and down and show them according to the current behavior.At server side you can maintain the sorting type in some viewstate property.
I have implemented a website to post messages and replies to those messages
now I want to allow users to enter programming source codes.
how I can do this.. I mean is it possible to implement a control like here in code project...
Please help me...
I want to do screen scraping i.e to get the data from a particular site after post back.
2)enter the origin and destination in the saerch criteria on the left
3) Get teh Avaibility page , and not to scrap the required data.
Need to perform the above operation through the code.
Last Visit: 31-Dec-99 18:00 Last Update: 24-Sep-23 13:54