SrihariKilari's Q&A profile
Windows Forms Secrets of the BindingSource.Filter
I searched through the MSDN documentation and these forums, but found precious little about this undocumented, yet powerful feature: The new BindingSource.Filter property, from my experimentation, is a full-fledged secondary "where" predicate on top of whatever selection is done in the base query that is tied to a TableAdapter. Since the base query is not accessible (or is it ) for dynamic changes, this Filter is where one can dynamically cha ...Show All
Windows Forms Smart Client Problems
I am having a problem with smart-client web service concurrency. If using optimistic concurrency on the service, I run this code: [WebMethod] public DataSet UpdateSource(DataSet updat ...Show All
Windows Forms Bad opinion about .NET framework
Dear Friends, I am using Visual Studio.NET 2005 (Whidbey) to do my developing and designing work. I have developed windows application.I copied the EXE which I have developed,to some other machine (Machine which doesn't has .NET framework 2.0). While running the EXE,I have an error that "you should have .NET framework version 2.0.5314.0 ..." This is really bad. How do they expect that all sys have the framework Then what is the purpose of EX ...Show All
SQL Server DB Mirroring Monitor and querying the "other" db?
So I successfully got the mirroring to run and now I'd like to see what's going on between the two servers ( i'm not using a witness). I launch the Database Mirroring Monitor and its showing the two servers but when I go to the history column I'm not seeing any data movement. I've done a an update on a db with 1500 rows so I was expecting to see this show up. Also, is there anyway to query the database thats acting as the mirrored db ...Show All
Visual C# weill notr work
this code loads a dat set then intro a dat table. however the data has nothing in it . what could be wrong public void binddata() { //this function will be used to display data string error = "0" ; DataSet ds = new DataSet ( "XML Data" ); DataGrid dg = new DataGrid (); // DataTable dt = new DataTable(); PopPushXMLData xmldata = new PopPushXMLData (); ds = xmldata.gett ...Show All
SQL Server Derived Column Calculation
Example: (47 / 204709) * 12000 = 2.754 Both values (47 & 204709) are of data type Int. SQL Sever - Derived Column Calculation returns 2.74 The destination data type is Float I have converted the data types to Float, Decimal & Numeric and still got the same answer. Any suggestions Yes, I have what I have noticed with the Data Convertion component is t ...Show All
Smart Device Development Can't deploy application to emulator using VS2005 Beta 2
Hi I installed Vs2005 two days ago and was impressed by how easy it was to test on the emulator. Everything worked smoothly, I pressed the debug button and the emulator loaded, all the files required installed and the app ran. Today I loaded everything and it just won't work. The following errors come up - "Deployment and/or registration failed with error 0x80070003. The system cannot find the path specified." Sometimes if i c ...Show All
SQL Server BDE admin connecting problem, How do I connect via IP address.
Hi, I am connecting from clientside with sql server 2005 installed trying to connect to a database running on a server with sql server 2000 installed. this is not a 2000 to 2005 compatibility issue. I can connect locally fine to the server and log in using the sa account, however for BDE admin i HAVE to use the server name instead of ip address. If i try to use the ip address of the server, the connection dosnt get established. *this is all hap ...Show All
Visual C# Searching subdirectories
Hi, I want to search files in a subdirectories. I tried to search the following with System.IO.DirectoryInfo: C:\Documents and Settings\Ruben\My Documents\* But it said illegal characters in path. Is there a simple way to solve this Ruben Thanks a lot, it's just that SearchOption.AllDirectories that I needed. ...Show All
Visual C# Panel autoscrollposition hell!
Hey howzit I have a Panel that displays 3 different photos as BackGroundImage's. One is 300dpi, 150dpi and 72dpi. Each photo causes the Panel to autosize. I am using this as a zoom mechanism. So when the user clicks zoom, the image changes from 72dpi to 150dpi and 150dpi to 300dpi and that works fine, BUT i want the the scrollpositions of the form to change so that the area where the cursor is located on the imag ...Show All
Visual Studio Express Editions afxwin.h missing? windows.h missing? What am *I* missing?
I downloaded and installed Visual C++ EE yesterday. I'm trying to compile some OCX example code that came with a vendor library, and it's failing because "afxwin.h" can't be included. I did a search and neither than file nor "windows.h" exist on my machine. What am I missing It's been a while since I've tried to write C++ on Windows machines, but aren't these headers fundamental Why aren't they installed with VC++ How can I get them and the othe ...Show All
SQL Server SUBREPORT ACCEPTS ONLY FIRST VALUE FROM MULTIVALUE PARAMETER
Hi everyone, I have a problem passing a multivalue parameter to a subreport. I have a main report that has a chart and a table. I set one of the datafields (a chart's column) on the chart to be clickable to jump to a subreport. I pass two parameters. One of them is a multivalue parameter. It is called 'Name.' I right-clicked the datafield -> properties -> action -> jump to report. I selected my report, then clicked parameters, chose my ...Show All
SQL Server Using SQL Login in ASP.Net Authentication
Hello All, I have SQL Server 2005 Installed and i have numbers of SQL Logins users which i want to use in my ASP.Net Application for authentication. I am using ASP.Net 2.0 (VS.Net 2005). Can i use the SQL Logins for ASP.Net web application authentication like the way we use Active Directory users Thanks in advance, Wajahat Abbas http://www.wajahatabbas.com I believe there is no transparent way of using SQL logins. ASP.NET applicati ...Show All
SQL Server Format DateTime attribute in AS 2005
Hi, I have an attribute a Time dimension which is of the datetime datatype. In the browser and in other tools, the displayed members are formatted like this: dd-mm-yyyy hh:mm:ss I want to change this format. How is this done The format property of the attribute in the dimension editor seems to have no effect... I tried "mm/dd/yyyy" and without quotes. Thnx... Jeroen. Hi Jeroen, If you c ...Show All
Visual Basic Function parameter passing and objects
What is best practice for passing objects as parameters to a function I have a class that receives two objects which will be used for calculations. These objects are going to be used throughout the class so what I had done is instantiate two class objects of the same type and set them equal to the ones being received from the function 'Declaration dim InternalTotoObj as TotoObj dim InternalTotiObj as TotiObj function SomeName (curOb ...Show All
