Answer Questions
Anzer New Rows do not appear in SQL database
Hi all, I am busy with a project that requires I store information in a database. I'm using VS2005 Express and SQL Server 2005 Express. My problem is no matter what I try I can't get inserted data to appear in my SQL database. I believe I have setup everything correctly, I have a DataSet (smsdataDataSet) and TableAdapter (smstableTableAdapter) setup, the code I am trying is listed below: smstableTableAdapter.InsertQuery(MyGuid, SMSMessage ...Show All
VirGin Problems with modifying records from Database (VB.NET)
Hi all, I am a student learning ASP.net now. I need help with the problems that I am facing with editing and deleting records from the database (created Microsoft Access). Currently, my .aspx page is able to retrieve and display records from tables in the database. However, as part of my school assignment, I also need to be able modify the data, i.e to add, edit and delete records, and that is when the errors occurs. Whenever I try to c ...Show All
zuninet Why does the 64Bit section exsist?
As I understand the .Net framework there shouldn't be any issues for any code compiled in MSIL runing on a 64Bit system. So why does this section of the forum exist Other code than can fail if executed on a different platform, is code that assumes the IntPtr type is a particular size. It is 4 bytes on 32-bit Windows but 8 bytes on 64-bit Windows. I imagine that this could also be an issue for serialization ...Show All
Feper Icons for files - by extension
Hi, I'm trying to populate a treeview with files in a folder and would like to show the icons for the file. How can I get the icons when I have the extension For example, ".doc" would give me the icon with the w. I want it to look like Explorer and have all registered files show icons. Thanks Thanks, David, but I belive that only gets icons from within the file. That's OK for excutables, ...Show All
guercheLE Help with ODBC Connection from Windows App
Hi, I have some code which works perfectly from an asp.net 2.0 application to connect to a database create a command/dataadapter, and return the dataset. But when I try to run this same code, with the same libraries referenced I get this error: "ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified" Here is the code from the windows app, I actually get it when I ...Show All
Darkdog Debugging SOAP Request/Response
Is there any way to capture the XML that is sent to and received from a web service over HTTPS I'm trying to debug the client connection to the web service, and I want to see whether the SOAP being generated and returned are correct. Hi. I figured out a simple way to capture the incoming XML using the Application_BeginRequest event handler in Global.asax.cs. Code Sn ...Show All
Neetu Ghota store class structure
hi all how can i save the structure of class , and retrieve it when need be more specific about what you want to do... Do you want to save a class instance to somewhere and restore it later Then use a BinaryFormatter or an XmlSerializer. Do you want to retrieve and store some kind of meta information like property types and so on about a class Then retrieve it with reflection. ...Show All
niv_7 AzMan: Has anyone created an HTML/Web management console as an alternative to the AzMan MMC?
We have client who loves MS AzMan (MS Authorization Manager) but has requested an HTML/Web-based management console (as an alternative to the AzMan Microsoft Management Console (MMC) Does anyone know of anyone who has created an HTML/Web management console for MS AxMan Cheers, Michael. -- Michael Herman Parallelspace / OpenCanal OpenCanal Community for WinFS: http://www.opencanal.com/community/winfs Hey Michael. I'm sorry no one h ...Show All
mpco Best Practice Architecture Question (Distribued Application Cache)
Hi, Im in the process of developing a distributed application that has dynamic web menus and other components that are stored in my sql database. the menu is set at load time on the master page, and as you can imagine this will become a big problem having to query the db everytime I load the page. So I have created a cache to store the menu to save on db access. The question I have is: In which of my application layers should I place the cache ...Show All
Keren alternatives to stateful service
I want to build my remoting layer as a set of stateless, single-call services. There is one aspect of my application that does not seem like it will be a good fit for this model, though. Part of the the application is a processing engine that is controlled by a wizard on the clients end. The wizard gathers information into a memory and then uses an engine to process it. I want the processing to occur on the server, so it seems that the data gat ...Show All
Tim Howard E
Hi, I am using VB.Net 2.0 and have connected to Microsoft Access but having trouble running a query as it uses * as a wildcard, but when I run it in .Net it returns nothing as needs to have %. The solutions I can think of are: 1) If I was able to extract out the actual SQL string from the MS Access query from my code then I could do a Replace("*", "%") then would work - but don't know how to extract the SQL strin ...Show All
VictorWang Failure when opening Excel file via ADO.NET on some computers
Hello - I am writing a little Excel-to-SQL Server business tool for a client. It simply lets the user open an Excel spreadsheet with a named area defined, select one or more rows from a datagrid, and transfer the information to some SQL Server tables. Works like a champ on my PC, and 2 of my colleagues PCs, but not my clients. The situation: Using Oledb namespace in ADO.NET for .NET Framework 1.1 Standard Jet driver - I have XP SP2 which has so ...Show All
parsec Delegation problem in FW 2.0
Delegation not work in 3-tier application. My configuration: Client: Windows App. "Account is sensitive and cannot be delegated" is not selected for user. Middle tier: Windows Service (log on as local system). Server: SQL Server (log on as local system). All computers has "Trust this computer for delegation to any service (for Kerberos only)" selected in AD. Impersonation on Middle tier is work, but SQL Server say "Login failed for u ...Show All
Dariusdm VERY slow binary serialization of strings coming from SQL
Please help! This is probably the weirdest issue I've ever encountered. I'm trying, in C#, to binary serialize an array of strings that come from a SQL Server 2000 database. Problem is, this takes orders of magnitude longer than if the strings don't come from the database. The EXACT same 35000-length array of strings takes 0.1 seconds to serialize if the strings don't come from the database, and 40(!) seconds to serialize if they do. So ...Show All
Marek Sieradzki Casting at runtime
Hello Can any body tell me how can I get rid of switch case in this code: private static Type [] EntityClassesTypes = new Type [] { typeof ( type1 ), typeof ( type2 ), typeof ( type3 ), typeof ( type4 ) }; public static object LoadInstance( EntityTypes entityType) { XmlSerializer xs = new XmlSerializer (EntityClassesTypes[( int )e ntityType]); switch (entityType) { case EntityTyp ...Show All
