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:339423
More Search Options
RSS Available
Matching Posts
Problem reading a file from memoryStream
Hello, I'm a bit stuck on the following problem: I'm trying to create a text file in memory and then allow the user to save this to their hard-drive. (I'm trying to do it this way so there is no physical text file on the server) So far I've written the following: try { MemoryStream ms = new MemoryStream(); StreamWriter sw = new StreamWriter(ms); sw.WriteLine("hello"); // write some text to the stream StreamReader sr = new StreamReader(ms); string s = sr.ReadToEnd(); sr.Close
Posted to
Web Forms
(Forum)
by
circlemaker2
on 11/26/2007
Re: Issue running aspnet_regsql successfully
The collation sequence for the server is : Latin1_General_CI_AS Si
Posted to
Security
(Forum)
by
circlemaker2
on 5/11/2007
Issue running aspnet_regsql successfully
Hello, I'm trying to implement ASP.NET 2.0 Profiles for my website using SQL Server 2000. I've just tried configuring the profile providers using aspnet_regsql and I keep getting the following error when I use the wizard: Exception: An error occurred during the execution of the SQL file 'InstallRoles.sql'. The SQL error number is 446 and the SqlException message is: Cannot resolve collation conflict for equal to operation. Cannot resolve collation conflict for equal to operation. Having done a bit
Posted to
Security
(Forum)
by
circlemaker2
on 5/11/2007
Re: Problem displaying image data from SQL Server
Hello, I've worked out what is was. I was uploading a byte array without the binary data in it. I needed the following to get it to work: Stream dataStream = theFile.PostedFile.InputStream; byte[] docBuffer = new byte[theFile.PostedFile.ContentLength]; int n = dataStream.Read(docBuffer, 0, theFile.PostedFile.ContentLength); Si
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
circlemaker2
on 4/13/2007
Problem displaying image data from SQL Server
Hello, I'm having problems saving and then displaying binary data in sql server. I have a form that takes a file specified by the user and inserts this into sql server: protected void btnUploadFile_Click(object sender, EventArgs e) { if (theFile.PostedFile != null) { if (theFile.PostedFile.ContentLength > 0) { byte[] docBuffer = new byte[theFile.PostedFile.ContentLength]; Response.Write(theFile.PostedFile.ContentType.ToString()); if (docBuffer.Length > 0) { // save to db DbAccess dbAccess
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
circlemaker2
on 4/12/2007
Schedule for daily execution
Hello, I could do with some advice on the following as I've never had to do this before. 1. I need to execute a stored proc to query a table for documents that have expired. 2. For those documents that have expired I need to email the admin with the details of the documents. 3. This needs to run once every 24 hours. 4. I can't use DTS and the xp_sendmail stored proc and the DBA won't allow it (don't ask!) Can anyone offer a sound solution to achieve the above. I've been looking into writing a Console
Posted to
Getting Started
(Forum)
by
circlemaker2
on 3/16/2007
Creating a hidden textbox
Hello, This is probably a really simple one, but I can't find anything when I google it. How do I create a hidden textbox on an asp.net page. When the page renders I want the asp:textbox to render something like this: <input type="hidden" id="txt1" .../> I've tried setting the asp:textbox to visible="false" but this removes the textbox completely from the rendered output, it doesn't set it to hidden. Thanks in advance. Micheal
Posted to
Getting Started
(Forum)
by
circlemaker2
on 2/8/2007
ValidationSummary - removing embedded style
Hello, I have a validation summary control that renders as follows: <div id="Validation1" headertext="The following errors occured on this page:" style="color:Red;display:none;"> Does anyone know how I can remove the embedded style - style="color:Red;display:none;" (I want to add my own CssClass, but don't want this embedded style to be present.) Thanks Si
Posted to
Getting Started
(Forum)
by
circlemaker2
on 5/11/2006
Master page names my controls differently!
Hello, I have a aspx page that is being rendered within a masterpage and that has a number of textboxes. Two of these textboxes accept a persons postcode that I then need to validate using javascript. (postcode1 accepts the first part (area code), postcode2 accepts the last part) I am using a Custom Validator to validate the postcode. I have written the javascript required to validate it, but don't know how to reference the controls in javascript because when they render ASP.NET gives them a different
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
circlemaker2
on 5/10/2006
Custom paging question
Hello, I am attempting to find out if there is a way of accomplishing the following: I have a table of data with 20 million rows containing telephone call information. A user can query this table and return data based upon their user id. The returned rows will not exceed 150, and I need to display them on a webpage 10 rows per page. I have written a custom paging solution that only returns the 10 rows needed for display on the page. However, everytime the user clicks to go to the next page it queries
Posted to
Data Presentation Controls
(Forum)
by
circlemaker2
on 3/30/2006
Page 1 of 4 (33 items) 1
2
3
4
Next >
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
ASP.NET:
Live Preview jQuery Plugin
WindowsClient:
Remember JScript closures capture all variables in scope
TechNet Edge:
UAG reaches RTM
Channel 9:
Who, What, When, Where, Why and How of MIX10
Channel 10:
Berlin Wall in Silverlight
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 2, Installation
Silverlight:
Contributing to the SL HVP
Silverlight:
Best SF Books of All Time
Channel 9:
Reactive Extensions API in depth: Repeat
Channel 9:
Jeffrey Van Gogh: Testing Rx with Pex
Channel 9:
The Visual Studio Documentary: Dan Fernandez Full Length Interview
ASP.NET:
Search Engine Optimization (SEO) Toolkit
Channel 10:
This Is Your Data on Silverlight
ASP.NET:
How the IIS SEO Toolkit Saved My Butt
TechNet Edge:
Windows 7 XP Mode User Experience
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online