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://184.108.40.206/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.
i want to use "System.DirectoryServices.AccountManagement" this dll.
The problem is that when i am trying to add this throug addreference that time this dll is disable.
Any solution how to enable this one.
hii am using web service in my application.i added web refrence.now i am trying to use
it in my code.actually it is temperature conversion web service.
the code is:
Protected Sub ConvertButton1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles ConvertButton1.Click
Dim wsConvert As localhost.Convert()
Dim temperature As Double = System.Convert.ToDouble(TemperatureTextBox.Text)
FarenhiteLabel.Text = wsConvert.FahrenheitToCelsius(temperature).ToString()
but i am not getting the function FahrenheitToCelsius()
plz guide me where am i wrong...