Software Development Network Logo
  • Architecture
  • Visual FoxPro
  • Visual Basic
  • Visual Studio
  • Windows Vista
  • Visual C#
  • VS Team System
  • Visual C++
  • Windows Forms
  • Smart Device
  • SQL Server
  • Game Technologies
  • Microsoft ISV
  • Visual J#
  • .NET Development

Software Development Network >> .NET Development

.NET Development

New Question

errors connecting to sqlexpress
Getting truncated socket bytes
SmtpClient.Send() problem results in "An established connection was aborted by the software in your host machine"
XML and Datasets
Ldelem, Ldelema, Ldelem_Ref
SqlCommand and Multiple Select INTO Statements
Affected records
How do I get a .NET TextBox to implement MY OWN INTERFACE
SerialPort SerialDataReceivedEventHandler
Does COM Interop cache data?

Top Answerers

NeoZon
Pramey
mhweiss
Frans Bouma - C# MVP
brain1610
mam282
Jan M
TheSun
RDK
Crean
Frontline: View Online
Only Title

Answer Questions

  • Mahasweta Das Best Way to Copy Data From Server A Table A1 to Server B Table B1 w/ C# and ADO.NET

    Hello ... new guy here ... thank you for your patience.  I've seen lots of ADO.NET examples (including the 101 C# examples), but I have not found one "exactly" like this...and I'm looking for the best practice... Here's my environment: SQL Server A has a database that contains table A1 SQL Server B has a database that contains table B1 Table A1 and B1 have an identical structure (columns, datatypes, etc.) Rows periodically flow into table A ...Show All

  • Rodrigo Chagas io.networkstream encoding

    Hello, I'd like to ask how can i set the current encoding property to the streamreader I mean i am receiving a stream from a pop3 server and i would encode it into central european charset. how can i do this Dim respond As String respond = read.ReadLine() and i want respond to be encoded in unicode... how can i solve this thnx for ya help hi, try to use utf8 encoding instead of ascii , unicode i guess you have to k ...Show All

  • Mr.S DataBound Tag Property

    I have a form that has a TextBox that has the Tag property bound to a DataSet.  Even if no changes are made to the form, the DataSet HasChanges() method returns True.  If I switch the binding over to the Text property, it returns False, like it should. For example: Create a new Form1 with TextBox1 and Button1 controls on it.  Paste the following code into the form: Public Class Form1 Private _ds As New DataSet ...Show All

  • etaardvark Framework assemblies always MSIL?

    Just out of curiosity:  Are System.Windows.Forms and other framework assemblies MSIL just like applications, so they'll be JIT:ed to 32 or 64 bit as appropriate, and only the JIT:er/CLR is really different in x64 edition of the framework Is this the same for Compact FW on mobile devices that might suffer some delay when those (relatively big -- bigger than my app) assemblies get JIT:ed Does this differ btw 1.x and 2.0 versions of the re ...Show All

  • mnelson How can i fetch a value that resides in a web page from a windows app on the same client?

    hi, i have a c# winforms app that needs to fetch a specific value that resides in a specific web page. the web page needs to be opened in the client before i can fetch it. i tried shdocvw but it gave me alot of problems. anyone can help Why do you want to open the web page in the client first Just use the System.Web.WebClient class and its DownloadFile method to get the html document you need. Then ...Show All

  • nogs windows service process flow

    I have created a windows service in c# and it works fine but i have a question in my mind: In my service constructor i call a method to initialiaze all variables which are defined from app.config. and in OnTimer method, service does what it should. So at each interval it starts its job. I was thinking about process flow of my service application and i thought it should work like this : when i start Service i am actually making one instance of th ...Show All

  • Nattack INSERTing multiple values with OleDbCommand

    Can someone tell me how to insert multiple rows into a database when use the OleDB* classes I can easily insert one row... string queryString = "INSERT INTO People (firstName, surname, dateOfBirth) VALUES (@firstName, @surname, @dateOfBirth)"; OleDbCommand comm = new OleDbCommand(queryString, conn); comm.Parameters.AddWithValue("firstName", person.FirstName); comm.Parameters.AddWithValue("surname", per ...Show All

  • johnko console output

    I am making my first steps in C#. I am used to another object oriented language (VDbase plus) but not .NET. I designed a form under Windows Applications. There is a button on it. I want to print a short message to the console. I thought this function will do it on click. It does not print anything. The statement Console.Writeline ("hello") if placed in Main() body does not give any output either. I did set the Project->AppProperties->Gener ...Show All

  • Gautam25470 Is not the right forum but I have no idea where else to put this question...

    I have been looking around to see how I can get hold of Visual Studio 2005 Standard edition. I need a MSDN subscription... but what kind of subscription I am a part time developer and I dont need a Professional or Team Suit version, I am interested in building a website and deploy it every now and then. My questions is, what MSDN subscription is sufficient to get hold of Visual Studio 2005 Standard Edtion.   I don't think any M ...Show All

  • MikeP2a Implementing Identity Columns

    Hi All, Have Anybody ever tried to implement Identity Columns without using stored procedures select number from numbertable where key = key; update numbertable set number = number + 1 return number; How do we implement such a logic using ADO.NET disconnected datasets You can set the AutoIncrement property of a DataColumn to true. You can also set the AutoIncrementSeed and AutoIncrementStep pro ...Show All

  • Lonko Suggest Collection

    I need a collection for the following purpose: 1. Should be key based 2. contains single value 3. Iterate and read the value 4. manipulate the value for a key, if reqd, after reading while iterating I cannot use any IDictionary collection(ex: Hashtable) as the pt 4 will not suffice. Please suggest which collection I should opt for. Thanks and Regards, //Samik. ya.. I avoided e ...Show All

  • neto Creating Shell Links/File Shortcuts with Framework?

    What's the best way to create a link or shortcut to a file, using the 2.0 Framework I know this must be an oft answered question.  But for some reason the only ways to create file system links I've been able to discover involve calling WSH, or wrapping SHELL32.dll.  Neither rely on the .Net Framework.  Surely there is finally support for shortcuts in the new release Karen   D ...Show All

  • tflanman Transaction locking locks whole table!

    moved here from http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=32&SiteID=1 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Hi, I'm having a problem with transaction locking. I need to BeginTransaction, read each line from a file and insert it to a table, then either Rollback or Commit the txn if all the inserts work. This is how I'm declaring the BeginTransaction... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xConn = New SqlConnection("server ...Show All

  • Chilirecords DataSet Column Attributes - How/Where?

    Hi, I need to find out how to get column attributes, such as the Data Type, it's Length, can it contain nulls, etc. I'm currently using MyDataSet.Tables[0].Columns["columnName"].DataType, MyDataSet.Tables[0].Columns["columnName"].AllowDBNulls etc etc, but the problem is that I need the 'Length' attribute of the column (and any other available attributes), for obvious validation reasons. I'm using the .NET Framework 2.0 & Visual Studio .NET 2 ...Show All

  • g_stefan Cancellation regions?

    While reading the VS2005 Beta 2 MSDN Library documentation for the .NET Framework, I came upon some references to "cancellation regions".  For instance, look up the documentation for "System.OperationCanceledException".  Anyone know what "cancellation regions" are I think whatever it was, it doesn't exist anymore. Click on the System.Threading.CancellationRegion  link on the page you mention ...Show All

222324252627282930313233343536373839

©2008 Software Development Network

powered by phorum