Click here to Skip to main content
15,898,222 members
Home / Discussions / C#
   

C#

 
AnswerRe: datetime Pin
dipswitch@ownage4u.nl14-Feb-07 0:11
professionaldipswitch@ownage4u.nl14-Feb-07 0:11 
QuestionExporting DataGrid contents to Excel Pin
Imthu13-Feb-07 23:27
Imthu13-Feb-07 23:27 
AnswerRe: Exporting DataGrid contents to Excel Pin
debnathrubs13-Feb-07 23:34
debnathrubs13-Feb-07 23:34 
Questionget ipaddress Pin
Nekshan13-Feb-07 22:53
Nekshan13-Feb-07 22:53 
AnswerRe: get ipaddress Pin
virendra patel13-Feb-07 22:58
virendra patel13-Feb-07 22:58 
GeneralRe: get ipaddress Pin
Nekshan13-Feb-07 23:03
Nekshan13-Feb-07 23:03 
GeneralRe: get ipaddress Pin
virendra patel13-Feb-07 23:48
virendra patel13-Feb-07 23:48 
AnswerRe: get ipaddress Pin
Blue_Boy13-Feb-07 23:20
Blue_Boy13-Feb-07 23:20 
Perhaps this should help you...

public string strHostName="";<br />
public string [] args=null;<br />
public IPHostEntry ipEntry =null;<br />
IPAddress[] addr=null;<br />
.<br />
.<br />
.<br />
.<br />
.<br />
.<br />
if (args.Length == 0)<br />
{<br />
// Getting Ip address of local machine...<br />
// First get the host name of local machine.<br />
strHostName = Dns.GetHostName();<br />
//MessageBox.Show(strHostName);<br />
}<br />
else<br />
{<br />
strHostName = args[0];<br />
}<br />
<br />
// Then using host name, get the IP address list..<br />
ipEntry = Dns.GetHostByName(strHostName);<br />
addr = ipEntry.AddressList;<br />
for (int i = 0; i < addr.Length; i++)<br />
{<br />
strip = addr[i].ToString();<br />
//MessageBox.Show(strip);<br />
}



I Love SQL

QuestionUser Controls [modified] Pin
mark_w_13-Feb-07 22:50
mark_w_13-Feb-07 22:50 
AnswerRe: User Controls Pin
Martin#13-Feb-07 23:22
Martin#13-Feb-07 23:22 
GeneralRe: User Controls Pin
mark_w_13-Feb-07 23:39
mark_w_13-Feb-07 23:39 
AnswerRe: User Controls Pin
Martin#14-Feb-07 0:06
Martin#14-Feb-07 0:06 
GeneralRe: User Controls Pin
mark_w_14-Feb-07 0:27
mark_w_14-Feb-07 0:27 
QuestionRun SQL Server script from C# code Pin
Sushant Duggal13-Feb-07 22:15
Sushant Duggal13-Feb-07 22:15 
AnswerRe: Run SQL Server script from C# code Pin
Blue_Boy13-Feb-07 22:33
Blue_Boy13-Feb-07 22:33 
AnswerRe: Run SQL Server script from C# code Pin
Pete O'Hanlon13-Feb-07 22:41
mvePete O'Hanlon13-Feb-07 22:41 
GeneralRe: Run SQL Server script from C# code Pin
Sushant Duggal14-Feb-07 0:28
Sushant Duggal14-Feb-07 0:28 
AnswerRe: Run SQL Server script from C# code Pin
Colin Angus Mackay13-Feb-07 23:59
Colin Angus Mackay13-Feb-07 23:59 
AnswerRe: Run SQL Server script from C# code Pin
Sushant Duggal14-Feb-07 0:30
Sushant Duggal14-Feb-07 0:30 
Questionrichtextbox question Pin
frossie13-Feb-07 22:03
frossie13-Feb-07 22:03 
Questionget value from string into textbox Pin
Nekshan13-Feb-07 21:50
Nekshan13-Feb-07 21:50 
AnswerRe: get value from string into textbox Pin
N a v a n e e t h13-Feb-07 21:52
N a v a n e e t h13-Feb-07 21:52 
GeneralRe: get value from string into textbox Pin
Nekshan13-Feb-07 21:57
Nekshan13-Feb-07 21:57 
AnswerRe: get value from string into textbox Pin
virendra patel13-Feb-07 21:54
virendra patel13-Feb-07 21:54 
GeneralRe: get value from string into textbox Pin
Nekshan13-Feb-07 22:02
Nekshan13-Feb-07 22:02 

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.