hie friends,

it is possible to get a hostname or computername in C# but, further is it possible to get a hostname and passed that name to a databse table when we press a button in forms alongwith other fields update.

Recommended Answers

All 2 Replies

Maybe this class can help?

Are you trying to save in the table where the update came from? Just add a column where to store it and pass the hostname as value in the insert.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.