i a list of .cs files and i need to store them in the database,
1. is it standard to store them in the database?
2. is it standard to store them in the binary type?
View Complete Post
I need to store more than 4k of bytes in my SQLCE 4 database. How can I do that with the ASP.NET Web Pages 1.0?
1: The Microsoft.Data provider fails when I try to populate a parameter with more than 4k bytes.2: Referencing SqlServerCe assembly and using SqlCeConnection/SqlCeCommand/SqlCeParameter throws exception: SQL Server Compact is not intended for ASP.NET development.
How can I somehow map the generic DbType, which does not have NText as an option, to the ntext column in my database? (SqlCeParameter supports DbSqlType, which has ntext, but see problem #2)
I know this is probably a very basic question but how do I keep a column's text values unique in SQL server (ie for a unique username)? The column is not an integer it's varchar(50), and it's not the primary key but I could make it the primary key if recommended.
The front end could handle it; where the user would enter text, it's validated, then a query is done to see if that username is available. If so, then user can decide to choose it and an insert is done, if not they pick a new username and process repeats. With this approach, the responsibility of keeping the value unique solely rests on the front end, nothing on the database side.
Is this the correct way to handle this?
Can anyone tell me the best way of storing Japanese characters through ASP.NET.I have to put characters into a asp:textbox on one page, which saves it to an Access DB.On a second page I want to display the content in a asp:label.
Should I store the characters directly to the database or should they be encoded, andhow do I encode the characters?
In my web.config i have:
<globalization fileEncoding="ISO-2022-JP" requestEncoding="ISO-2022-JP" responseEncoding="ISO-2022-JP" culture="ja-JP" uiCulture="ja-JP" />
On the display page I have:
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=shift_jis">
i am new to asp.net programming i am trying to create an ms excel file with charts drawn in it,
i wrote the complete code for it but the it is saying
i have set the permissions to my complete disk space and all user accounts, and i tried with anti-virus disabling also it didnt work please try to help me out and my code is :
I started a .net application for mobile and it works on nokia phone..
I have lot of troubles in order to let evryhting work on Blackberry, HTC and iPhone.Can you tell me how can I get the best practises for mobile development, what should I do and what should I "not do"...
I've generated some PDF documents.But i like to merge all PDF documents to 1 PDF document, withouth saving it first.So i would like to have 10 byes ans bound them together if possible... But how?
Code i use right now:
////Then create new pdf file
string strMime = null;
string strEncoding = null;
string strfileNameExtentions = null;
string stream = null;
Microsoft.Reporting.WebForms.Warning warnings = null;
bytes = rep.Render("PDF", null, out strMime, out strEncoding, out strfileNameExtentions, out stream, out warnings);
Office 2010 and SharePoint 2010 include a new set of components called Application Services. These put a rich set of tools in a developer's bag for Office automation. We'll show you how to use Office OpenXML, Word Automation Services and SharePoint to build a simple application that merges separate status reports into a single document.
Manvir Singh, Ankush Bhatia
MSDN Magazine July 2010
This article describes how to generate documents that contain data stored in SharePoint lists. The example demonstrates how OpenXML content controls can be defined to capture list data in a Word document and how LINQ to XML can be used to query the lists. The documents are generated from a SharePoint Web Part.
MSDN Magazine October 2009
Flow documents offer enormous flexibility in arranging text layout and pagination, but they don't support data binding, so you can't dynamically change content. Here we build a component to solve that problem.
Vincent Van Den Berghe
MSDN Magazine April 2009
Internet Explorer 8 sports some exciting new features including Web Slices, Accelerators, and search suggestions along with AJAX navigation and DOM storage.
MSDN Magazine March 2009
Learn how to create a workflow that uses InfoPath forms and other office documents for passing data to targeted activities and for use in Office documents.
MSDN Magazine June 2008
LINQ to Objects and LINQ to Entities have an arsenal of Standard Query Operators that operate on sequences to perform a wide variety of operations.
MSDN Magazine March 2008
Markus Egger discusses all the flexibility and power of flow documents in Windows Presentation Foundation
MSDN Magazine August 2007