vsts2008

Silverlight XAML layout issue

Hello everyone, I am using Silverlight 3.0 + .Net 3.5 + VSTS 2008 + C# to develop a simple video application using the open source slvideoplayer of Silverlight. http://slvideoplayer.codeplex.com/ For the player, the play control is at the bottom of the rendering video, any ideas how to place play control at the top of video? I have tr...

about TranslateTransform and RenderTransformOrigin

Hello everyone, I am using Silverlight 3.0 + .Net 3.5 + VSTS 2008 + C# to silverlight application. I want to learn TranslateTransform and RenderTransformOrigin, could anyone recommend me some tutorials? I am a newbie of this area. And I did not find anything which is good to learn for a newbie from MSDN (correct me if there are some go...

How to insert into sql table while VSTS load test is also inserting

I need to track custom information associated with each request URI during 'load test' run. I know that VSTS stores 'requestURI' in table called 'WebLoadTestRequestMap'. Could some one tell me how to achieve this? ...

coordination transform issue in Silverlight

Hello everyone, I am using Silverlight 3.0 + .Net 3.5 + VSTS 2008 + C# to develop silverlight application based on ASP.Net. I am very confused about what are the function of "TranslateTransform" and "RenderTransformOrigin" in the following code snippet? BTW: I roughly understand RenderTransformOrigin means move an UI element in x-axis ...

Cannot start TFS Build service: Error 1227

When I try to start the TFS 2008 Build service on the port 9191 I get the following error message: Windows could not start the Visual Studio Team Foundation Build service on Local Computer. Error 1227: The network transport endpoint already has an address associated with it. If I use another port it works, but I need i...

how Silverlight RenderTransformOrigin works together with TranslateTransform?

Hello everyone, I am using Silverlight 3.0 + C# + VSTS 2008 + .Net 3.5. I am learning from the following tutorial about TranslateTransform. http://vbcity.com/blogs/canoz/archive/2010/05/02/beginning-silverlight-translatetransform.aspx My question is how RenderTransformOrigin works together with TranslateTransform to achieve visual eff...

Unable to cast object of type 'System.Object[]' to type 'System.String[]'

I am developing a C# VS 2008 / SQL Server website application. I am a newbie to ASP.NET. I am getting the above error, however, on the last line of the following code. Can you give me advice on how to fix this? This compiles correctly, but I encounter this error after running it. All that I am trying to do is to store the items from...

How to pass a Dictionary variable to another procedure

I am developing a C# VS2008/SQL Server website application. I've never used the Dictionary class before, but I am trying to replace my Hashtable with a Dictionary variable. Here is a portion of my aspx.cs code: ... Dictionary<string, string> openWith = new Dictionary<string, string>(); for (int col = 0; col < headers.Length; col++) ...

How do I access Dictionary items?

I am developing a C# VS2008 / SQL Server website app and am new to the Dictionary class. Can you please advise on best method of accomplishing this? Here is a code snippet: SqlConnection conn2 = new SqlConnection(connString); SqlCommand cmd = conn2.CreateCommand(); cmd.CommandText = "dbo.AppendDataCT"; cmd.CommandType = CommandType.St...

Procedure or function AppendDataCT has too many arguments specified

I am developing a C# VS 2008 / SQL Server website application. I am a newbie to ASP.NET. I am getting the above compiler error. Can you give me advice on how to fix this? Code snippet: public static string AppendDataCT(DataTable dt, Dictionary<int, string> dic) { string connString = ConfigurationManager.ConnectionString...

deadlock when SQL Server transaction log ever-increase?

Hello everyone, I am using SQL Server 2008 Enterprise. I have tried that if I set SQL Server transaction log to ever increase for the related database (with no backup settings), then a single delete statement of this stored procedure will cause deadlock if executed by multiple threads at the same time? Any ideas why? For the delete sta...

Conversion failed when converting datetime from character string

I am developing a C# VS 2008 / SQL Server 2005 Express website application. I have tried some of the fixes for this problem but my call stack differs from others. And these fixes did not fix my problem. What steps can I take to troubleshoot this? Here is my error: System.Data.SqlClient.SqlException was caught Message="Conversion f...

How do I make software that preserves database integrity and correctness?

I have made an application project in Visual Studio 2008 C#, SQL Server from Visual Studio 2008. The database has like 20 tables and many fields in each. I have made an interface for adding deleting editing and retrieving data according to predefined needs of the users. Now I have to Make to project into software which I can deliver...

How to debug SITE.MASTER ASPX file?

I am developing a C#/SQL VS 2008 website application and I'm trying to set breakpoints in my site.master file--is there a way to do this? The contents of this file are: <%@ Master Language="C#" AutoEventWireup="true" CodeFile="Site.master.cs" Inherits="Site" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www...

live broadcasting video?

Hello everyone, I am using VSTS 2008 + .Net 3.5 + C# + Silverlight 3.0 + Microsoft Expression 3 + ASP.Net + IIS 7.0. I want to show my desktop lively to other users. In more details, suppose a case when a teacher is showing Demo or ppt on her/his desktop, the information on desktop could be broadcasted lively so that other users could s...

Expression Encoder 3 SDK screen capture C# sample?

Hello everyone, I am using VSTS 2008 + .Net 3.5 + C# + Microsoft Expression 3 SDK. I want to capture screen and output a wmv file. I tried hard but can not found C# samples from Google. Any reference samples? thanks in advance, George ...

how can a databse be created on sql server 2005 using c# vs08.

to create new a new databse file start sql server management studio express on db server and create it! i would like to create a database using c# in my web application visual studio 08 is it possible? as connection string has to have a name of database to connect, but i want to create one. ...

how to query the database without accessing the tables, correct the database but not the tables

used is c# sql vs 08 sql server 2005 express whenever and where ever an sql select statement is used, its always like select * from tablename or count statement is alsi like select count something from table name for selecting or doing anything on the tables, i would like to know which tables exits in my the database i am connec...

deadlock on a single SQL Server table

Hello everyone, I am using SQL Server 2008 Enterprise. And using ADO.Net + C# + .Net 3.5 + ASP.Net as client to access database. When I access SQL Server 2008 tables, I always invoke stored procedure from my C# + ADO.Net code. I have 3 operations on table FooTable. And Multiple connections will execute them at the same time in sequence...

Need guidance, link tutorials help using gridview

Need guidance, link tutorials help using gridview any site tutorial pdfs which clearly explain how to use gridview programmatically (forgive the spelling) the dataset binding etc with respect to gridview source of data is sql c# statement. like sql command="select etc" vs08 c# sql gridview control ...