Rayco J.'s Q&A profile
SQL Server Datafields in report header
Hi. I want some information stored in the database to be shown on the top of each page in my report. But in the report designer I get an error message if I try to drop a table in the header, and if I try to assign the value of a textbox in the header to e.g. "First(Fields!sometable.Value)", I get a runtime-error in the preview that says "... Fields cannot be used in page headers or footers". How can I do this Regards, Tomsi ...Show All
Windows Forms Binding DataGridViewImageColumn in DataGridView
Dear all, I would like to binding (string or bool) data from database in DataGridViewImageColumn. However, i catch exception in DataGridView_Error event when i run it. Exception message is Formating error or Commit error. Please help me to resolve my problems and give me example code if possible. Thanks for your help. Khiem Vo. great help - new URL link: http://msdn2.microsoft.com/en-us/library/z1cc3 ...Show All
Visual C# ASP Security! tell me various method! how to secure?
hi all i need asp security method, how to secure in asp page.. my eserver page was designed by using java script and query string variable. so..this is a problem all data is visible... and but currently i modifying that all pages . i remove all query string variable and also remove the hidden & java script variable... i put it in to session variable and retrive the post method............. any other ways available please send ...Show All
SQL Server Depending on the due date, start date and end date calculate the number of entries
Hi! I am using SQl server 8.0 and I have a web form on which I have below controls or I can say below column in the TABLE A DueDate Start date End Date Interval -- Monthly or Quarterly Amount Depending on the Interval(Monthly or Quarterly) I want to make an entry in the Table B which will be fall between start date and end date and on due date EXample DueDate = 11/15/2005 Start date =11 ...Show All
Visual Studio Express Editions IsDesignMode() function
Is this a good way to check if your code is running in the IDE It seems to be working okay. Public Function IsDesignMode() As Boolean Return System.Diagnostics.Debugger.IsAttached() End Function ...Show All
SQL Server Deployment 'utility' script using sqlcmd
Hi all, I'm looking at creating a sample utility script that will invoking scripts to deploy some SQL code. For example, a utlity script that will run a SQL script, and on successful completion, execute the next script. Having not used SQLCMD at all before, and being very new to SQL2005 (< 1 month) please guide me if there is a better way of invoking this... For example, a way of avoiding the xp_cmdshell invocation! The fol ...Show All
SQL Server SSIS Package Corruption
Hi, Anyone know why one would get a package corruption error This is the error: “There were errors while the package was being loaded. The package might be corrupted. See the error list for details.” We tried the prescription said here: http://whiteknighttechnology.com/cs/blogs/brian_knight/archive/2005/12/19/34.aspx but that did not seem to work. This has happened for a few packages now and wanted to see if there w ...Show All
Windows Forms Adding Controls to a User control
Hello, I'm trying to add custom controls to a user control, and render them to it. I have a viewer user control in which several of these controls are built: //Create a verse item and assign the values to the property VerseItem verseControl = new VerseItem(); verseControl.Visible = true; verseControl.Enabled = true; verseControl.Anchor = AnchorStyles.Left | AnchorStyles.Top | AnchorStyles.Right; verseCon ...Show All
Visual C# A control that extracts information re PDF fillable fields
hey howzit. I am looking for a component that can extract information about fields in a PDF. e.g. their height, width, location etc. PDF fields are used in electronic forms and are becoming quite popular. ...Show All
Microsoft ISV Community Center Forums Business Scorecard Manager Alerts
Hi The 'Manage Alerts' button does not appear on the Scorecard Webpart, I've been through the whitepaper on how to get alerts configured, checked and rechecked every option concerning alerts, it's all configured as per the whitepaper but I still don't get teh 'Manage Alerts' button. Is there something I'm missing Thanks Dave Hi Dave, Per a product team member, try iisreset on the server, and then a ...Show All
.NET Development NetworkStream.Read performance
Hi All, a small question about some code we implemented: if ( rxSize > 0 ) { byte [] buf = new byte [rxSize] ; int total = 0 ; int offset = 0 ; int counterRead = 0 ; int counterSleep = 0 ; // put incoming bytes onto the input stream while ( ( !m_Terminate ) && ( rxSize > 0 ) ) { // stream = new NetworkStream ( socket, false ); if ( stream.DataAvailable == false ) ...Show All
Visual Studio Team System Requests/sec goes to 0 during load test - vstesthost stops sending requests?
I'm running a series of scenarios, mostly coded web tests but some non-coded ones. After 10-20 minutes of running @ 6-10 Requests/sec, this counter goes to 0 and no more requests are sent out. After turning on tracing in vstesthost, I found some stack traces that are from the exact time of the test stopping (note that the load test continues, but the Requests/sec is at 0 while the User count is still at the constant value of 30). Snippet f ...Show All
SQL Server MS Polling of Servers
This could be turned off in Enterprise Manager. Is there any way to turn it off in Management Studio ...Show All
Visual C# Newbie: How Much Should I Inherit From Uncle Arthor?
Thanks for helping out a new guy!!! I'm working w/ C#, .Net 2.0, VS 2005 and SQL Server 2000/2005. I'm essentially building a simple server application named MyServer that opens a couple of connections into SQL Server and does various tasks in the database. I'm going to throw in some options for a couple of different threads and some other fun features. I've seen a *lot* of examples in this forum and others where using inheri ...Show All
Visual Studio Express Editions e.graphics in wrong area.
I have the following section of code that is obviously, even to me, not quite right. The Error message is that the e.graphics iss not a member of 'system.EventArgs. Basically im trying to draw a cirle on a userforn once the value in a textbox is added or changed. Private Sub TextBox1_TextChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged e.graphics.DrawEllipse(Pens.Black, (bolt ...Show All
