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

Software Development Network >> .NET Development

.NET Development

New Question

Validating xml file with schema.
How to call a function inside of XSL?
When does NetworkStream.Read return zero?
Unable to Connect to ther remote Server
C# 2005 Web Service question
How to find the last occurence of <p> within a textblock tiltled <h2>??
How does Socket/s being taken care of in the memory?
Truncated data exception
How to save Access Query Data after user changes?
StartMenu/Start Button

Top Answerers

peekb
sdaemon
Jonny Neil
VinceG
Nepius Clemens
Rames Gantanant
cipcip
AdeptBlue
shades921
yln
sitemap
Only Title

Answer Questions

  • thukralz Thanx :D

    hi all ... here is my problem i have a database created with access and i wanna get the data from it by using disconnected way in ado.net so I create oleDbDataAdapter then i fill the dataset by using the oleDbDataAdapter1.Fill(dataSet1);method and then i created a DataTable and i gave it same name that i called in the access db and by using while loop i tryed to get the data with read() method but no result So plz can any body exlpain what is the basic steps that can allow md bring data from db and put it in Dataset, then display it on RichTextbox or what ever :S help me plz !! NOTE : SORRY ABOUT MY BAD LANGUAGE AND GRAMMAR Here is a basic sample: SqlConnection conn = new SqlConnection(CONNECT); ...Show All

  • Yusuf Hermanto Typed datasets & serialization/deserialization

    I have some complex objects that I would like to clone. Some of these member variables are typed datasets and will require deep copies. I would like to serialize/deserialize these objects into and out of binary format. When I serialize my object it won't serialize typed datarows (these are extended from the class datarow) but they are non-serializable. I think I understand why these are non-serializable - the typed datarow itself is not something that would normally maintain state when cloning. I could possibly alter the designer.vb classes for the typed datasets and make the offending methods nonserialized but I don't want to do this. I could also alter my class to make the typed datasets nonserialized and clone these manually into the ne ...Show All

  • Amde Checking Datasource for Existing Values

    I'm trying to check a datasource to see if a value exists when a user types it into a new record in a text box. Coding in the Leave() event of the text box, but how do I check the datasource for exisiting values Thanks a million. Hi, If you are using a DataSet with a DataTable, you can use the Find Method for the Row Collection to find a row based on a specific value. Here a I have 2 examples, one using the primary key, and the other using the SelectMethod for a wider criteria. Dim m_Table As DataTable = DataSetLoader.LoadDataSet(SeleccionarArchivo).Tables(0) m_Table.PrimaryKey = New DataColumn() {m_Table.Columns( "CustomerID" )} Dim m_dr As DataRow = m_Table.Rows.Find(txtID.Text) If m ...Show All

  • j_l_brooks Exact Registry Key

    Hello Everyone, I've been researching, and I can't seem to find, the exact Registry key of the windows current user. I'll be creating an installer using the InstallAnywhere software ( www.zerog.com ), and I need this registry key to determine if the user has an administrator privileges for him to continue the installation. I'm really hoping and looking forward that you guys can help me. Thank you soooo much! Thank you for your reply, but the company is using the InstallAnyware since, and I can't ask them to change right away. maybe on the next project we'll consider using different a Installer software.. Thank you again :) ok, well the preference should really be the Windows Installer project fo ...Show All

  • Neil Fraser HOWTO: improve performance of long string coupling to textbox?

    With this the array is converted to a single string: For i = 0 To Len(input) - 1 output = output & cell(i) & "." Next Then finally the string is submitted to the text box: TextBox1.Text = output The 1st step is slow when the array is large. The 2nd step is very slow when the string is slow. What should I do Use StringBuilder to concatenate your strings. Dim sb As StringBuilder = new StringBuilder() Dim i As Long For i = 0 To Len(input) - 1 sb.Append(cell(i)) sb.Append(".") Next TextBox1.text = sb.ToString() If you roughly know how many characters are concatenated you can also specify an initial amount of memory by using another StringBuil ...Show All

  • Jassim Rahma xml serialization problems with asynchronous callback

    hey guys, im developing a windows application that uses asynchronous callback as network communication technique with xml serialization for sending complex objects over the network. the problem is that at receiving the buffer to be written to the file is never written fully and in correct format. its always cutted from the middle and so the serialization always fails. any clue thanks I'm also guessing you are having the same problem I had a while back - its the way TCP is, sending out data in bursts, so your reciever appears to read all the data it recieves but actually on the next read, the rest of the data just turns up. Are you also able to post the code for your recieving end, wh ...Show All

  • N B Which class I should use in communication?

    Hello, I am a new user of this forum. I need some advice. In System.Net.Sockets namespace there are two class, NetworkStream and Socket Classes and in System.IO there is Stream class for using TCP/IP connection between server and clients. I have read their members, properties and events in MSDN, they are nearly the same but I wonder there are any advantages or disadvantages between them. For my program which class should I use I use TCP/IP and DNP (Distributed Network Protocol) for my application, some devices connected to LAN sends data to my application also my application can send commands to these devices. But I can not decide which class do I use. After reading MSDN and searching internet, I found answers to my questions:) May ...Show All

  • Vijay Guru Prasadh How to compare values from 1 table to another with an outside variable

    say i have 2 tables . table 1, and table 2. Now table 1 has 3 files and table 2 is emptied. Each table has 4 columns. Name, Time, Size, No(goes from 1-100 increase by 1 Exp. 1,2,3...). Everytime when i run asp file, it reads all 4 files in my folder directory and then insert it in to table 2. Then compare to see if all files are exactly match by name, time or size. No column for table 2 and table 1 will never match so i use the name column to be a primary key. then say it has 2 files that have exact same name but different size and time. Therefore i must update table one. Now the user has a choice. Either select to update 1 file only or both file. To do that a user must click on the check box correspond to the file. Table1 Table2 Name ...Show All

  • Hallio SMTP Service error

    I am developing an ASP.NET application using the SMTP service to send email notification. However, the emails are getting rejected with an error message: Diagnostic-Code: smtp;550 5.7.1 Unable to relay for <email address> I can send a test email to my personal AOL account but not to the company that I want to send it to. What exactly does this message mean and which service generated this message How do I resolve this problem Thanks... These errors come directly from your SMTP server. They mean that the SMTP server you are using is configured to reject messages sent to outside email addresses and originating from unauthorized IP addresses or users. The purpose of such a re ...Show All

  • Roy mm How to retrieve a list of active sessions?

    I have an ASP.NET application and in Session_OnInit I popuplate an arraylist in my "Application" space which contains all IDs of users logged in. I want to do this: If an user log into my web application and another user is logged this the same account, I want that the last user that log in take a valid session so I want to invalidate the session of the "old" user. Is there a method to access the list of active sessions on web server and Invalidate a specific session to forced the logout of an user logged in ASP.NET web app specific questions should be asked in the forums at http://forums.asp.net . This forum is for questions related to web services. My best guess at an answer fo ...Show All

  • 2162 Web.Config

    Hi there, I have used the sample website which is already made for you (With Web.Config) when you load it in visual web developer but after I upload the whole website to the web. The website cannot find the .aspx file. The webserver does allow ASP.Net but it still cannot find a aspx webpage.. Could anyone come up with a solution or what might be my problem Thanks, AliQ Hi Ali, it looks as if you are just starting with ASP.NET. This forum is for ASP.NET Web Services questions, not for general ASP.NET questions. I suggest you ask your question here: http://forums.asp.net/15/ShowForum.aspx Clemens ...Show All

  • qqterry123 suggestion on DB design

    I have a db I would like to design and code against, but I have a FK contraint issue I believe and I think I need to redesign this. I would love to get your input on what to do please To simplify things, I have three tables, Teams, Arenas and WebLinks. Each row in Teams and Areanas can have multiple rows in WebLinks (one to many in both tables). I would like to use some referential integrity (FK constraints ), but I'm not sure how to do this If I implement as I have suggested above with three separate tables, then I can't put the FK on the WebLinks table as a row from Arenas won't be in Teams and the FK will fail. Any suggestions would be greatly appreciated. Thank you. AHHA! You met ...Show All

  • sanjeevm another timer question

    Hey, I'm developing a program to calculate satellite orbits, and some calculations need to be done each second, others each day. For that I'm using System.Timers.Timer class. This program is going to be running for a long time, sometimes even months. Question: isn't this a bit dangerous I mean, having a timer running for this long time always counting up Any suggestions Thanks k, thanks, how do I make some method be called every 12pm or something I need to have a timer ticking each hour checking if its 12pm, right I cant see how these dedicated times you're talking about are any different of regular System.Timers.Timer. I believe you may find some of your objects woul ...Show All

  • eschatzy Newby of Newby questions

    As a seasoned programmer, I am used to writing extensive code to accomplish the unordinary. Of course I would write COM objects, and my own function libraries to approach OOP. Now it's time to move from VB6 to VB.NET, with it's promise of less code and less time. As you might expect however, .NET takes much more time, due to the hundreds of classes in the Framework that I am as yet unfamiliar with. As with any language, once you get through the familiarization zone, you're good. .NET is clearly going to take more time than usual, and I'm optimistic about the outcome. There are many things that just don't make sense to me yet. For example, today I wanted to use HttpUtility. I only know that because someone herein sugg ...Show All

  • soli3d ampersand representation

    I have a stream of data that I store in a DataSet and then write in an XML file. One of the strings comes as a company name " Procter & Gamble Co ." This is how it ends up in the XML: < named > Procter &amp; Gamble Co. </ named > What is the best way to handle such situations There might be other special symbols I now do not foresee. If I place an "@" in front of each string that I put in the DataSet (before WriteXML is executed) would it help Shall I parse every string to see if special characters are present and insert "\" in front of them or what Thanks for any advice. Using @ or \ does not help in any way because this is not a C# or .NET "problem". XML requ ...Show All

414243444546474849505152535455565758

©2008 Software Development Network

powered by phorum