Click here to Skip to main content
15,921,905 members
Home / Discussions / C#
   

C#

 
QuestionProblem in getting value from Un-bounded DataGridViw. Pin
Mairaaj Khan7-Jun-06 22:13
professionalMairaaj Khan7-Jun-06 22:13 
QuestionPlease HELP!!!!!!! Pin
DampaZGB7-Jun-06 21:59
DampaZGB7-Jun-06 21:59 
AnswerRe: Please HELP!!!!!!! Pin
NaNg152417-Jun-06 22:10
NaNg152417-Jun-06 22:10 
AnswerRe: Please HELP!!!!!!! Pin
Colin Angus Mackay7-Jun-06 22:16
Colin Angus Mackay7-Jun-06 22:16 
GeneralRe: Please HELP!!!!!!! Pin
NaNg152417-Jun-06 22:36
NaNg152417-Jun-06 22:36 
GeneralRe: Please HELP!!!!!!! Pin
Colin Angus Mackay8-Jun-06 0:45
Colin Angus Mackay8-Jun-06 0:45 
GeneralRe: Please HELP!!!!!!! Pin
DampaZGB8-Jun-06 1:37
DampaZGB8-Jun-06 1:37 
AnswerRe: Please HELP!!!!!!! Pin
DampaZGB8-Jun-06 1:40
DampaZGB8-Jun-06 1:40 
GeneralRe: Please HELP!!!!!!! Pin
Robert Rohde8-Jun-06 2:02
Robert Rohde8-Jun-06 2:02 
AnswerRe: Please HELP!!!!!!! Pin
Eric Dahlvang8-Jun-06 4:30
Eric Dahlvang8-Jun-06 4:30 
GeneralRe: Please HELP!!!!!!! Pin
Colin Angus Mackay8-Jun-06 4:46
Colin Angus Mackay8-Jun-06 4:46 
GeneralRe: Please HELP!!!!!!! Pin
Ret Orrick8-Jun-06 7:42
Ret Orrick8-Jun-06 7:42 
GeneralRe: Please HELP!!!!!!! Pin
Colin Angus Mackay8-Jun-06 8:25
Colin Angus Mackay8-Jun-06 8:25 
GeneralRe: Please HELP!!!!!!! Pin
Ret Orrick8-Jun-06 8:40
Ret Orrick8-Jun-06 8:40 
GeneralRe: Please HELP!!!!!!! Pin
DampaZGB8-Jun-06 22:03
DampaZGB8-Jun-06 22:03 
Questionhow to send recived sms using smpp Pin
foysal mamun7-Jun-06 20:57
foysal mamun7-Jun-06 20:57 
QuestionCreating webpage using C# Pin
Vijju7-Jun-06 20:57
Vijju7-Jun-06 20:57 
AnswerRe: Creating webpage using C# [modified] Pin
rfjeld7-Jun-06 21:48
rfjeld7-Jun-06 21:48 
This might give you an idea on how to get the ip:

using System;
using System.Net;

namespace GetIPCS
{

/// Gets IP addresses of the local machine
class classGetIPCS
{
[STAThread]
static void Main(string[] args)
{
// Get host name
String strHostName = Dns.GetHostName();
Console.WriteLine("Host Name: " + strHostName);

// Find host by name
IPHostEntry iphostentry = Dns.GetHostByName(strHostName);

// Enumerate IP addresses
int nIP = 0;
foreach (IPAddress ipaddress in iphostentry.AddressList)
{
Console.WriteLine("IP #" + ++nIP + ": " +
ipaddress.ToString());
}
}
}
}

-- modified at 4:02 Thursday 8th June, 2006

Edit: Just noticed that this was going to run in a web page.
The code used in ASP.NET run's on the server and is sent to the client ... the only way to get client info in .NET is to either run js on the client or use the HttpBrowserCapabilities class from the System.Web namespace wich dont have country or ip...
QuestionSharing Internet connection Pin
arjun priyananth7-Jun-06 20:42
arjun priyananth7-Jun-06 20:42 
AnswerRe: Sharing Internet connection Pin
Daniele Ferrero7-Jun-06 20:49
Daniele Ferrero7-Jun-06 20:49 
GeneralRe: Sharing Internet connection Pin
arjun priyananth7-Jun-06 20:51
arjun priyananth7-Jun-06 20:51 
GeneralRe: Sharing Internet connection Pin
Daniele Ferrero7-Jun-06 21:00
Daniele Ferrero7-Jun-06 21:00 
QuestionRun on top of game in full screen Pin
rfjeld7-Jun-06 20:40
rfjeld7-Jun-06 20:40 
AnswerRe: Run on top of game in full screen Pin
Daniele Ferrero7-Jun-06 21:43
Daniele Ferrero7-Jun-06 21:43 
GeneralRe: Run on top of game in full screen Pin
rfjeld7-Jun-06 21:53
rfjeld7-Jun-06 21:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.