Software Development Network Logo
  • Windows Vista
  • Visual Basic
  • Game Technologies
  • Microsoft ISV
  • VS Team System
  • Visual FoxPro
  • Visual C#
  • SharePoint Products
  • .NET Development
  • Windows Forms
  • Audio and Video
  • IE Development
  • Smart Devicet
  • Visual Studio
  • SQL Server

Software Development Network >> .NET Development

.NET Development

New Question

Connection String to reach an Access Database in website
Program hangs on remote connection when opening SqlConnection .NET 2.0
Unable to get an FTP connection
Why are mapped (network) drives unidentifiable in Windows Service applications?
1.1 Framework deployed Standalone Application to work with 2.0 Framework
How do I remove or stop empty namespace created when apply xsl code to xml?
ERROR: No mapping
HOT FIX K921883
Xml vs. RowSets
Record Limits for SQL Server Express?

Top Answerers

srinivasintouch
Kenny Grant
Javier Carvajal
Templarian
Bruxir
RameezM
Si B
phyton3D
CS05pp2
Mauricio DIAZ ORLICH
Labeep
Only Title

Answer Questions

  • Vanyel Webservice consumes all the available bandwidth.

                     We are on the test phase of a windows-webservice-Oracle application.Clients would connect the webservice through VPN or VSAT. VPN users would directly connect with the webserver,where VSAT user will connect with the VSAT server which will be routed to the webserver. Now the VPN users have an average bandwidth of 512 kbps and VSAT users have an average of bandwidth 360 kbps.There would be an average of 30 users at a time whom would connect either through VSAT or VPN. Now,if we connect through VSAT environment it runs out of bandwidth.The transacted data may reach upto 1 MB for each user. The web server memory is 2GB.We haven't implemented cl ...Show All

  • fewiii Using XSD

    Is there a way to use a XML Schema (XSD) in a project other than referencing the file path or URI I am reading this file using a DataSet's ReadXmlSchema method. dsInput = new DataSet (); string strXsdFile = @"C:\Documents and Settings\My Documents\Visual Studio 2005\Projects\MyProject\JobFeed.xsd dsInput.ReadXmlSchema(strXsdFile); ... I used brute force and used a stringbuilder to create a string, but this is not the most elegant method. ... string strXmlSchema = GetJobInputFeedXsd();  // Uses a stringbuilder to manually create the XSD string Stream strmXml = new MemoryStream ( ASCIIEncoding .Default.GetBytes(strXmlSchema)); dsInput.ReadXmlSchema(strmXml); ... What I would like to do is ...Show All

  • Damir Dobric Web service client (VB.Net): debug build works, release build doesn't

    I'm writing a VB.Net client application that communicates with web services running on Apache Axis 1.3 and Apache Tomcat 5.5.16. I'm using Visual Basic 2005 Express Edition. Everything was working fine until I tried running the release build instead of the debug build. It gets to one of the web service calls and reports an exception: System.InvalidOperationException: There is an error in XML document (1, 368). ---> System.ArgumentException: Item has already been added. Key in dictionary: 'urn:NtiInfo:Department' Key being added: 'urn:NtiInfo:Department' at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) at System.Collections.Hashtable.Add(Object key, Object value) at System.Xml.Serialization.XmlSeriali ...Show All

  • davemord ASP.Net TableCell width setting

    HI, I am using ASP table server control in ASP.Net 1.1 I am trying to set the width of table cell using following code: Dim tc as new TableCell tc.width=13 but visual studio underligned "13"  with blue line So please tell me how to set the width of table cell Best Regards, Jawad Naeem Although this is no .NET CLR topic for SQL Server, you have to set the Width.Value not the Width, because Width is a class exposed as a property in TableCell. I will move your thread over to the ASP.NET guys if anything is still unclear. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Nightmare_BE check user input data exist in database

    hi, In a combobox ,i have list of dates for course training.If a user select a date ,it will get stored in sql database,but before storing i want to check whether tha date is exist in database.If exist then we instruct the user to select another date,if not then ok to insert.how can i validate this input Any code snippet or samples,blogs.please send me.I am using vs 2005 vb.net thanks Please help. Hi Paul, Greetings! Thanks for the reply, I already explored from the web, and I have this function created: // function to identify if record already exist (string data type) // if true meaning record exist, false means no record private bool recor ...Show All

  • Toan Oracle client version for .Net 2.0

    Hi all, For using .NET 2.0, is a 10g client required Is 9.2.0.7 oracle client sufficient for this Could you send me some documentation links giving the details.. Thanks a lot for your help, http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpguide/html/cpconusingadonetproviderstoaccessdata.asp .NET Framework Data Provider for Oracle For Oracle data sources. The .NET Framework Data Provider for Oracle supports Oracle client software version 8.1.7 and later. Note The .NET Framework Data Provider for Oracle is not included in the .NET Framework version 1.0. If you require the .NET Framework Data Provider for Oracle and a ...Show All

  • Helen999888 i need help

    i have 2 tables in my database. i want to select data from one table and insert into the other. i have written my query using the the table adapter for that table. say i have a table named products and another named sales. using the salestableadapter i wrote and sql select statement to select data from product table and insert to the sales table like INSERT INTO Sales (productName, unitPrice ) SELECT productName, unitPrice FROM Products WHERE (ProductName = ) where productName is a parameter ie the product name the user will enter. this query is named InsertItem(ProductName). I then add the 2 tables on my form and create a textbox named productNameTextBox and a button named addButton. on my addButtonClick_Event i ...Show All

  • cvajre Data Application Blocks

    Please let me know that how can i configure data access application blocks and write connection string when it comes to connect multiple databases through my windows application program. i.e in one windows form i have to connect 3 remote databases and pick data, summaries and present it. Please suggest alternative methods other that data application blocks. Tnx in advance. ...Show All

  • Khenat.Ram TraceSource & Shared Trace Listener bug

    Hi! I have found the following problem in TraceSource. If I use several instances of TraceSource with one shared listener, and threads try to write their first event into TraceSource simultaniously, then several TraceListeners are created. i.e.: I have multithreading application which works in the following way: 1. First thread creates 2 TraceSource's with name "Name1" and "Name2". 2. First thread creates second and third threads, and run them. 3. Second thread writes an event into first TraceSource. 4. Third thread writes an event into second TraceSource at the same moment as second thread. After that both threads create TraceListener. I use my own TraceListener - MyTraceListener derived from Xm ...Show All

  • BigAl_NZ stack overflow and memory corrupt when use DsBrowseContainer

    [DllImport("dsuiext.dll", CharSet = CharSet.Unicode, SetLastError = true)] public static extern int DsBrowseForContainer(IntPtr infoHandle); public delegate int BffCallBack(IntPtr handle, uint message, IntPtr param, IntPtr data); [StructLayout(LayoutKind.Sequential)] public struct DSBrowseInfo : IDisposable { /// <summary> /// size of structure in bytes /// </summary> [MarshalAs(UnmanagedType.U4)] public int size; /// <summary> /// dialog owner /// </summary> public IntPtr handle; /// <summary> /// dialog caption text (can be NULL) /// </summary> [MarshalAs(UnmanagedType.LPWStr)] publ ...Show All

  • Steve98796 Windows Server2003 Web Edition and .NET 2.0

    This may be a dumb question, but I couldn't find the answer with a forums search. I am currently searching for an OS for serving computer. I ran accross Windows Server 2003 Web Edition, which pretty much is exactly what I need it for. The problem is, according to the 'compare server 2003' page, Windows Server 2003 Web Edition has NO support for .NET2.0. Now, does that mean that the OS package I purchase will not have .NET2.0 already with it, but I have the option of installing it from windows update/distributable package OR that I will never be able to install .NET2.0 on windows server 2003 web edition due to whatever reasons. If the former, I'm perfectly content to have install it after the fact but, if it's the latter, well then I'm b ...Show All

  • c.c.chai SQLBulkCopy and text files.

    Hi. Someone suggested that I use SQLBulkCopy to efficiently copy records from a tab-delimited text file to a database. It sounds easy enough, but I've run into a problem when I try to copy the data. I parse the soure text file and load the rows into a DataTable. Here's the code for the SQLBulkCopy : public void submitInsertsViaSQLBulkCopy() { ConnectionStringSettings settings; settings = System.Configuration.ConfigurationManager.ConnectionStrings["sqlConnectionString"]; string connectionString = settings.ConnectionString; SqlConnection dbConn = new SqlConnection(connectionString); SqlBulkCopy bc = new SqlBulkCopy(dbConn, SqlBulkCopyOptions.TableLock, null); bc.BatchSize = tbl.Rows.Count; dbConn.Op ...Show All

  • Marcin Ksi&amp;#261;&amp;#380;ek Executing a method in a given thread context

    I'm porting win32 code (non visual component or "user control") to .NET. In win32 code, I was using Windows messages between threads to signal events form a worker thread to another thread. This was done to make sure an event handler was executed in the context of the thread having created an instance of the component class. The [non visual] component class use a hidden window to receive the messages from the worker thread it created. Now I'm porting this code to .NET using C# as language. I'm using the socket class and use the asynchronous operation, for example, Socket.BeginAccept to make the runtime use a thread to wait for incomming connections and call my callback function when a connection is available. From the ca ...Show All

  • redneon SqlDataSource to call stored procedure

    Can someone show me how to use SqlDataSource to call stored procedure in a c# class (a support class for aspx) and not in aspx or code-behind Thank you for your reply. I was a little confused. I am using .net 2.0. Is sqlDataSource a replacement of OracleClient, which I think so I saw note on msdn site for OracleCleient states Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework. SqlDataSource can be used to access a variety of relational databases. To use a stored procedure, set the SelectCommand to the name of the procedure and then set SelectCommantType to "StoredProcedure" SelectCommandType="StoredProcedure"; SelectCommand="sp_myprocedure& ...Show All

  • Peter Ritchie Failed to add DataTable

    Help! When I create a new dataset in VS 2005, and try to add a DataTable to it, and I get the following error: Failed to add DataTable. Exception has been thrown by the target of an invocation. This happens to every DataSet I create, I cannot add anything to the DataSet, all I get are errors, and it applies to a TableAdapter or a Query, etc. I have no idea what to do... FYI: I previously had VS 2003 installed (VB & C#) Thanks for your help! Gary I had the same problem, switching to WinXP theme fixed it, although changing the font option in vs2005 also works and is a better feel for me. FYI - my sequence: installed VS 2005 uninstalled VS 2003 tried it out, got th ...Show All

98990123456789101112131415

©2008 Software Development Network

powered by phorum