I've looked around like crazy but can't find anything about it.
Any ideas? Thanks.
View Complete Post
Can someone please review my code and see where I can be missing information. I get the following error:
Line 1: Incorrect syntax near ','. Unclosed quotation mark before the character string ' )'. at System.Data.SqlClient.SqlConnection.OnError(SqlExc eption exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnErro r(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndW arning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.RunExecuteNonQuer yTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNo nQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at _Default.SaveToDatabase(String SavePath) in C:\Inetpub\wwwroot\Webfile1\Default.aspx.vb:line 78
Partial Class _Default
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Protected Sub Submit1_Click(ByVal sender
I am using the following piece of code for an alert popup. I want to insert some new line characters to make the alert better readable, but when I insert an \n in the sentence, the alert popup just does not show up.
Please suggest what is the best way to break line after the pariod.
if (CaseOrders.Count < 1)
alertString = "alert('Tests ordered did not match any Tests/Panels in ET. "+" MessageControl ID=" + MessageControlID + "');";
Page.ClientScript.RegisterStartupScript(Type.GetType("System.String"), "ALERT", alertString, true);
Thanks for your help.
Working with a customer trying to help him re-index his database. Database is a little over a terabyte and I gave him a re-indexing script to run on his SQL Server 2005 Enterprise server.
It had been recommended by a 3rd party load testing company that all of our re-indexing be done in "offline" mode so the re-indexing was done in offline mode for this customer.
The first reindex attempt stopped with a "severe" error message in the "query window" when sql reached the largest table in the system, which I found out contains about 29 milliion rows. The previous indexes had been successfully rebuilt or reorganized based
on the percentage of fragmentation.
I asked for the sql error logs and found the "severe" error message written to the log around the time of a "sql server restart". I asked the customer and he admitted to restarting sql server. I suspected that the reindex script had not completed but could
not be sure.
I decided to approach it next by rebuilding the index on the huge table only. He called me the next day and told me the rebuild had failed. He sent me the error logs and he also informed me he had killed the index query after it had been running for over
I found some IO errors in the sql error logs referring to "15 seconds" had been exceeded a
I'm wondering what's the best way to approach an online article system that allows users to comment by clicking on the line they are commenting about? Essentially the same way Adobe Acrobat works with comments where you can click anywhere and the text is saved for that location.
I'm assuming a mix of jQuery would be the crux of the interface. The system would need to save comments so that when another user logs in, they will also see the other comments but they canÃÂ´t edit them - only add their own.
Any suggestions would be great.
I am trying to retrieve xml from a small function in my .cshtml page. Its
throwing me an error. This however, runs fine in a console/form environment.
It takes 3 parameters and 1 exception.
myDll.GetXML(year, username, uniqueidentifier, out ex);
When I run this page I get the error, "Conversion failed when
converting from a character string to uniqueidentifier."
Or a stack of.
System.Data.SqlClient.SqlException (0x80131904): Conversion failed when converting from a character string to uniqueidentifier.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
I am working on a project currently where I need to get data out of a 3rd party vendor's software that uses a .sdf file I looked this up and its a SQL CE file. I was hoping to just link to with with access but thats apparently not going to happen. I need to link to the database extract data from it to a csv file for later use. I also and most important I need to get the data from it and create a report that can be printed while on a customers site that my or may not have web access so I need for this program to be on and off line. I had my webapplication that I have been working on open and was able to bring up the sdf file under the server exploere however I can't seem to get anything out of it when I try to do grid views or detail views errors out.
Can I use one of Visual Studio projects to create this sort of applicaiton if so what would be the best approach. I would love to get an access odbc driver since office is allready installed on the employee's laptop's
I want to add line break in the xslt but it not working.
Below is the code for adding the line break.
<P> <xsl:value-of select="$13932"/><xsl:text>&#xa;</xsl:text></P>
<P> <xsl:value-of select="$31042"/><xsl:text>&#xa;</xsl:text></P>
<P><td><xsl:value-of select="$Collection7"/></td> </P>
<P>I have tried the below code as well:</P>
<P>then also it not adding the line break.</P>
<P>But If I write code like below then it is adding the line break and it works fine.</P>
<P> Web Deployment Projects (WDP) arabic character Hello..I built web project using asp.net & c# in VS2005 and i use arabic label in my project and every think working good when i run my application. but when i use WDP to make msi file All arabic letter come like ?????. thanks
I built web project using asp.net & c# in VS2005 and i use arabic label in my project and every think working good when i run my application. but when i use WDP to make msi file All arabic letter come like ?????.
i use crystal report integrated with vs.2008, and i want to make chart with dual axis (bar & line).
i have used bar chart and input the data with 2 values..
then in chart options > template, i activated the dual axis..
my question is, how i can change the 2nd value with line chart not bar chart??
i'd tried to find the right settings in "chart options" but still can't find the solution.
for information in "chart options" there are 4 sub menu : template, general,titles,grid..
i read in a tutorial there's more sub menu called "series" in crystal report (stand alone version)..
is it possible doing it in Crystal Report VS. 2008?
please,, i need your advice and solution..
Charles Petzold continues his investigation into robust XAML coding made possible by Windows Presentation Foundation, this time tackling the complicated process of creating line charts.
MSDN Magazine January 2010
Here we wrap up the call center client application we began last month. The techniques we illustrate will help you build real-world enterprise solutions using Silverlight.
MSDN Magazine February 2009
Take a walk through the creation of a call center client application to learn how to build real-world enterprise solutions using Silverlight.
MSDN Magazine January 2009
DirectX 8.0 allows the creation of smooth and realistic character movements that are more life-like than simple articulated structure animations. This is made possible by its improved support for vertex tweening and blended vertex deformations, also known as soft-skinning. After a brief history of the use of these techniques in DirectX, soft-skinning using the fixed function pipeline is discussed. This is followed by the use of matrix palettes from within vertex shaders to create a customized soft-skinning solution that takes advantage of the benefits of vertex shaders, such as hardware acceleration and custom lighting algorithms without the limitations of fixed-function solutions.
MSDN Magazine June 2001