Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:712855
More Search Options
RSS Available
Matching Posts
Re: Working with comment ' character
Are you creating SQL strings to insert the data into the SQL tables? If so then you need to make sure to replace the ' for a '' in the SQL string. Or you can create a parameterized command.
Posted to
Getting Started
(Forum)
by
hordurj
on 4/17/2007
Re: Getting ASP.NET & IIS working in Vista
If you run in the Classic .NET pool then you don't get the benefit of being able to create and use native .NET modules in the integrated pipeline. The main difference is that in the Classic setting the asp.net pages are run through the aspnet isapi but in the native the asp.net components are integrated into the same execution pipeline. So in the native mode you should at least experience some performance benefits because the is no redundancy with pipeline stages.
Posted to
Installation and Setup
(Forum)
by
hordurj
on 4/12/2007
Re: how to split a string without a delimeter
And my previous reply is actually incorrect. The second parameter is of course the length of the substring so it should be substring(0,4) and substring(4,2).
Posted to
Getting Started
(Forum)
by
hordurj
on 3/29/2007
Re: how to split a string without a delimeter
You can use the Substring method string year = yy_mo.substring(0,3); string month = yy_mo.substring(4,5); string newyy_mo = year + ";" + month;
Posted to
Getting Started
(Forum)
by
hordurj
on 3/29/2007
Re: How to handle hash key not found
Can do something like if (ht.ContainsKey(key)) { // output value ht[key] } else { // output Book Title not found } Or use Contains if you are using the IDictionary interface.
Posted to
Web Forms
(Forum)
by
hordurj
on 3/23/2007
Re: Could someone provide the specfic syntax to work around this ExecuteNonQuery runtime issue
Something like this should work: SqlConnection conn = new SqlConnection ( ConfigurationManager .ConnectionStrings[ "ConnectionString1" ].ToString()); SqlCommand wcmd = new SqlCommand ( "update guidtest set name='John' where id=@id" new SqlParameter ( "@id" , SqlDbType .UniqueIdentifier, 16)); wcmd.Parameters[ "@id" ].Value = new Guid ( "047B4CEE-90CE-4309-93A4-9740242D02BB" ); conn.Open(); wcmd.ExecuteNonQuery(); conn.Close();
Posted to
Getting Started
(Forum)
by
hordurj
on 3/23/2007
Re: Could someone provide the specfic syntax to work around this ExecuteNonQuery runtime issue
In your query have you tried select * from table where UserId = '{' + @UserId + '}' or to have the parameters as SqlDbType.UniqueIdentifier size 16 and set the guid directly as a value.
Posted to
Getting Started
(Forum)
by
hordurj
on 3/23/2007
Re: Cannot implicitly convert type 'int' to 'System.DateTime'
Convert.ToInt32 and Convert.ToString convert to int and string respectively. What you want is Convert.ToDateTime to DateTime. DateTime dt = Convert.ToDateTime(TextBox5.Text); DateTime dt1 = Convert.ToDateTime(TextBox6.Text);
Posted to
Getting Started
(Forum)
by
hordurj
on 3/16/2007
Re: credentials and impersonation
Does your impersonated account have access to all the the neccesary files, like the .net temporary files. If you are running IIS6 on a Windows 2003 you should also check the identity of the application pool the website is running under, by default it is the NETWORK SERVICE. What error do you get?
Posted to
Getting Started
(Forum)
by
hordurj
on 3/15/2007
Re: Getting ASP.NET & IIS working in Vista
Vista is running IIS7 and the web.config has changed a little. Now you can configure any of the modules for each website, both regular ISAPis and the .NET modules. The modules are stored under a <system.webServer> element under tha <configuration> section. <configuration> <system.webServer> <modules> <add name="modulename" ...../> </module> ... ... </configuration> You could also try to change the app pool from the DefaultAppPool to the Classic .NET
Posted to
Installation and Setup
(Forum)
by
hordurj
on 3/14/2007
Page 1 of 2 (15 items) 1
2
Next >
WindowsClient:
XAML for UI & .rc files
TechNet Edge:
DNS Security (DNSSec) Overview
Silverlight:
Silverlight 4 demos from my PDC Keynote now available
Channel 9:
Channel 9 Live at PDC09: Dave Campbell
Channel 9:
Channel 9 Live at PDC09: Yousef Khalidi
Channel 9:
Twitter App for Zune Launches
WindowsClient:
Incarnate
WindowsClient:
Track Fedex packages with Bing
Channel 9:
Marty O'Donnell - The man behind the Halo Music
Channel 10:
Twitter App for Zune Launches
WindowsClient:
Rotate your text in the WPF DataGrid Column Headers
WindowsClient:
New gameplay video with D&D on Surface
WindowsClient:
ViewModel Pattern and Speech as UI. Help me Obi Wan, where’s the View?
Channel 9:
Karsten Januszewski and Tim Aidlin: Introducing Incarnate
Channel 9:
Reactive Extensions API in depth: Retry
Channel 10:
iBing uBing: Bing iPhone App Arrives
WindowsClient:
Migrating an Outlook Client to .NET Framework 4 in Visual Studio 2010
Channel 10:
A Look Behind Mouse 2.0
WindowsClient:
Using Speech Synthesis in .NET 4 and Windows 7
Channel 10:
Office 2010 "5 Rules" Presentation
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online