HI i want to get my own pc's ip adress and want to send to server database.how can i get this???
You'll need to clarify the question a bit regarding...
i want to get my own pc's ip adress
Do you mean that you want to capture the IP address of the visitor accessing your website? If so, that's pretty simple.
Add a label, textbox or other similar control and in your code behind use the servervariables collection to access the remote IP address. For example...
lblIP.Text = Request.ServerVariables("remote_addr")
To store this in a database, you treat this like any other data that you need to save. Are you familiar with making a database connection?
Are you developing in VB or C#?
We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.