ASP.NET 2.0 with Text DataTypes:
I've got a similar question going in the SQL group, but I was wondering if
anyone has successfully implemented reading/writing character data from a
Text datatype column in SQL 2000. I know there's a Varchar(MAX) feature in
SQL2005, but my budget mocks me right now and I need to do it in SQL 2K.
Situation:
I'm building a resume DB, and for ease of input, I'd really like to be able
to use a single "Experience " field in my Web Form. Because these are
resumes, some people are going to have pages of text to copy/paste in here,
and it's going to exceed the 8K character limit of the Varchar field. From
everything I read, this pushes me into the netherworld of the Text datatype.
I see lots of warnings saying "Only if you really need to" or "Beware
unexpected behaviors" but have yet to see something concrete on what I need
to do to get text data out of the DB, display it to an ASP.NET web form, and
then put it back into the DB.
Questions:
1. What web control do I need to use to handle text of this size?
Multi-line text-box? Text area w/Runat=server? Please advise.
2. Is there any help in ADO.NET for handling text of this size?
3. If you've tried something similar, any lessons learned, etc?
At this point I'm more looking for strategic advise. If I really need to, I
can divide the Experience entry into separate rows in another table
w/varchar, but I'd like to avoid this if at all possible.
Thanks in advance everybody,
Chris 1 1656
from ado.net, a text field is like a long string, plus there are routines
for reading and writing in chucks if needed. form sql, text field have a lot
of restrictions. there are limted functions to manipulate them, nor can you
create a local text variable. if you are not writing a lot of sql, then just
making a text column is all you need.
-- bruce (sqlwork.com)
"ChrisFrohl ich" <Ch***********@ discussions.mic rosoft.comwrote in message
news:40******** *************** ***********@mic rosoft.com...
ASP.NET 2.0 with Text DataTypes:
I've got a similar question going in the SQL group, but I was wondering if
anyone has successfully implemented reading/writing character data from a
Text datatype column in SQL 2000. I know there's a Varchar(MAX) feature
in
SQL2005, but my budget mocks me right now and I need to do it in SQL 2K.
Situation:
I'm building a resume DB, and for ease of input, I'd really like to be
able
to use a single "Experience " field in my Web Form. Because these are
resumes, some people are going to have pages of text to copy/paste in
here,
and it's going to exceed the 8K character limit of the Varchar field.
From
everything I read, this pushes me into the netherworld of the Text
datatype.
I see lots of warnings saying "Only if you really need to" or "Beware
unexpected behaviors" but have yet to see something concrete on what I
need
to do to get text data out of the DB, display it to an ASP.NET web form,
and
then put it back into the DB.
Questions:
1. What web control do I need to use to handle text of this size?
Multi-line text-box? Text area w/Runat=server? Please advise.
2. Is there any help in ADO.NET for handling text of this size?
3. If you've tried something similar, any lessons learned, etc?
At this point I'm more looking for strategic advise. If I really need to,
I
can divide the Experience entry into separate rows in another table
w/varchar, but I'd like to avoid this if at all possible.
Thanks in advance everybody,
Chris This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Steve |
last post by:
Hi;
I have a table with a TEXT datatype.
Its a comment field.
Right now the users who put in singlequotes are killing the web front
end.
The programmer responsible is fixing this issue but it might be a few
weeks until we get the patch.
|
by: Lili |
last post by:
Hi!
Is there a way to convert binary datatype to text? I have made link from
Access to SQL server table. In that table one field is binary datatype. I
would need to filter table by that field but I do not see anything in there
at the moment.
Please advice how to solve this problem.
Thanks in advance,
|
by: Paul |
last post by:
I was wondering if anyone has had an issue where using vba code to
read an excel file and import the data into an access table some
records are not imported from the excel file. It seems looking at the
data in the excel file that if the first character in the excel file
cell is numeric it will read and write only numeric values only. If I
sort the coloumn in the excel file and the first character in the cell
read is alphanumeric then only...
|
by: j.mandala |
last post by:
I created a simple link between two tables in a query. TableA has
Social Security numbers stored as Long Integer Data. (I imported this
table).
The Join is between these two fields
Table Field Data Type
------------------------------------------
TableA ClientNumA Long Integer
TableB CliNumB String
|
by: Ghost |
last post by:
Hello.
I have some problem to read Money Type Field from my database.
I do so:
I'm using SqlDataReader object to select some records and I have "float"
type variable to store result.
I write:
myFloatVar = (float)mySqlDataReader;
When this line executed the cast exception occurs.
| |
by: Amit Maheshwari |
last post by:
I need to read text file having data either comma seperated or tab seperated
or any custom seperator and convert into a DataSet in C# .
I tried Microsoft Text Driver and Microsoft.Jet.OLEDB.4.0 to read text file
but could not get the data in correct format.
All columns are not coming in dataset and rows are messing up.
Suggestions please ???
|
by: Wes Peters |
last post by:
Does anyone know of an article that deals with the subject of reading a
structured text file using VBA code in Access?
Thanks,
Wes
|
by: jenniamia |
last post by:
I'm new to programming, so this might be simpler than I realize but I'd appreciate a push in the right direction.
I'm using VS.NET 2005 with a database, SQL 2000. I'm writing in C# code and I'm trying to take an XML file and read in a particular part of that data (all the Variable nodes). Following that I have to remove the data which I read in(again thats the Variable nodes), and save the additional data in the database as a file. Currently...
|
by: Stephen.Schoenberger |
last post by:
Hello,
My C is a bit rusty (.NET programmer normally but need to do this in
C) and I need to read in a text file that is setup as a table. The
general form of the file is
00000000 USNIST00Z 00000000_00 0 000 000 000 0000 000
I need to read the file line by line and eventually parse out each
piece of the file and store in arrays that correspond to the specific
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |