Answer Questions
soundindepth "Group By" Function when using XML Data
I am trying to find out how to do the equivalent of a "group by" in SQL Server when creating a DataSet from an XML file. I'm using VisualBasic 2003 and ASP.NET 1.1. I an XML file that looks like: < Order > < State > OR </ State > < Product > Queso Cabrales </ Product > < Company > Great Lakes Food Market </ Company > < Sales > 63 </ Sales > </ Order > ... ...Show All
shivachrome Moving in Binary File
Hello I am reading data from binary file ,some of this data is string and some is images and the length of some of this data is saved in many places in the file I need a way to move back in the file i use the Seek method with the StreamReader to do that when i read text files but there is no Seek method for the BinaryReader Any body can help me . I try to read the file and every thing is g ...Show All
lily rose DataSet and DataSet Designer
Hi, i am a beginner :( i created a dataset using the DataSet designer in VS2005 and connected to my tables. using this data set i can call methods to add row... it does not provide any exception but i do not see added row in my database. what could be wrong. i am presuming that the dataSet created using the Designer automatically connects to the database.. or i am wrong. here is exactly what i did: UserDataSet ds = new UserDat ...Show All
CMCFelix TypeForwardedToAttribute Class
Does anybody here have complete information about .Net Framework 2.0 TypeForwardedToAttribute Class In MSDN we don't have enought information. Stephen in MSDN2 docs there isn't too much information. I'm searching for information that can be used in a question of MCTS certification exam. I'm studying for the new .Net 2.0 certifications, so if you could sugest a book with complete instructions for MCTS certification, I'd li ...Show All
FlashFan help, fail to connect web service always!
in my IE brower of ppc the server's web service that content always old.however, it is newest in pc. on well connection status fail to connect server's web service all day.but days before was right. i guess that problem caused by deployment could i set the instance 's url property of Web Service object from a .xml file sample : MyService.Service1 ws = new MyService.Service1(); // ...Show All
opc3 Typed DataSet on two different table definitions
Is is possible for a typed DataSet to update a table whose definition does not exactly match the DataSet, but that should be compatible with it For example: Our Address table originally had these columns: AddressLine1, City, State, Zip and the typed DataSet reflects just these columns. Now the Address table has been updated on the database to have a new column, AddressLine2 (Nullable). The dataset throws an exception when attempting to ...Show All
Recep TARAK&#199;IO&#286;LU Are NGen images shareable between processes under different windows accounts
Hi everybody, I've read http://msdn.microsoft.com/vcsharp/default.aspx pull=/msdnmag/issues/06/05/CLRInsideOut/default.aspx I'm not quite sure whether there are any restrictions on between which processes the NGen images can be shared. Given my assemblies fullfill the requirements (no rebasing etc.), and users start my application on one physical machine using a terminal server. Will then my assemblies be shared or the "shareabilit ...Show All
iConcepts SSL Socket Request C#
Hi, I have issue communicating with SSL sites. I would like to receive data from a SSL (HTTPS) site. I am using Socket class in C# my code is similar to the code below. As you seen there are no indication of how to behave with a SSL request. class MyClient { public static void MyGet( string sHost, int iPort) { IPHostEntry IPHost = Dns.Resolve(sHost); Console .WriteLine(IPHost.HostN ...Show All
theartful_dodger How to set a specific RUNTIME for a library?
I have used Visual Sturdio 2003 to create a DLL compativle with COM and I want that dll to run in .net 1.1 even if .net 2.0 is installed. Can I set this property in anyway to my library or it will always run with the las .net installed in the machine Only if you can install a config file for your client programs with this in it, below. This works for unmanaged clients too, it's not just for managed code. &l ...Show All
Jason. Binding a dropdown listbox
Im trying to bind a dropdown listbox with a table in SQL Server 7.0. Whenerver i use this code , i get value: "System.Data.Common.dbDataRecord". Following is my code : Sub Page_Load() Dim strSqlCities as String = "Select city from city" Dim strConnection as String = "server=Maxood;database=watal;user id=sa;password=;" Dim objConn as New SqlConnection(strConnection) Dim Cmd as New Sql ...Show All
sptma SQL Connection String Assistance
I'm trying to upload the personal website starter kit to a web hosting site, and cannot get the connection string correct. I want to use the personal.mdb in the App_Data folder within my site, which works fine locally, but once uploaded, I get all kinds of errors - depending on how I mess with the string. In no interation can I get the string to work when trying to use the <AttachDBFilename> entry. When just adding the connection st ...Show All
Grant_Holliday Moved DB to Server - do I have to recompile and change all of the dataSet Names??
Using C#, Windows Forms app, VS Pro 2005 edition: I moved my app's backend SQL Server Express database to the main server. The dataset/tableadapter/binding names that were automatically generated using my local PC SQL Server data source are now not the same as the server datasource. For example, my old dataset name is "myDataSet", and the new one is myNewDataSet". Ditto tableadapters. (OK, they aren't actually named "my ...Show All
mci Questions on EncoderParameters / PNG TIFF Image types
This is a repost, (i had originally posted to the incorrect group, sorry...), and also, I am still unclear on where to post this one, as it seems to "fall between the cracks" somewhat...I can't find a forum that really seems appropriate for GDI+ questions (if someone has a tip on that, idappreciateit!) The question: Does anyone happen to know, offhand, if there is a way to specify the quality encoder parameter type for .P ...Show All
Simon OConnor - MVP regular expression for the following password scheme
hi, need a regular expression for the following password scheme 1. the length of the password must be from 8-12 2. password must contain atleat 1 number 3. password must contain atleat 1 character from the !@#$% 4. password can contain alphabets but no whitespaces help ( ( =.* [0-9])( ( =.* [!@#%\$])^[0-9a-zA-z!@#%\$]{8,12}$|[!@#%\$])|[0-9]) ...Show All
ff pp .net 2.0 substring
Running th efollowing code under .net 2.0 can you see why there is an error on Substring and LastIndexOf please The error is: system.net.mail.attachmentcollection does not contain a definition for substring. Same error is produced for LastIndexOf Thanks Outlook.MailItem memo = (Outlook.MailItem)app.CreateItem(Outlook.OlItemType.olMailItem); // populate... - never quite as straightforward as it should be... if (base.To != ...Show All
