all groups > asp.net > july 2007 > threads for saturday july 14
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
How do I trace the origin of "String or binary data would be trunc
Posted by Dave at 7/14/2007 8:26:00 PM
I get this error: "String or binary data would be truncated" when I try to
insert data in the database. But the stack trace gives no clue as to what is
the offending data column. How can see the offending column?
Stack Trace
System.Data.SqlClient.SqlException was unhandled by user code
... more >>
asp.net 2.0 DropDownList limit number of size/ rows / height issue?
Posted by jobs at 7/14/2007 7:05:14 PM
I've tried setting the height of the dropdownlist, but when I do that
it eats of space below . Basically, I only want about 10 rows visible
and scrolling to then show up if there are more rows. But I want space
below the dropdown to be available by other controls while the
dropdown is not select... more >>
textbox control question
Posted by chenhong at 7/14/2007 6:22:47 PM
I have a aspx page which has a textbox control and a button control.
I added some code in the button's OnClick event.
When I add some text in the textbox and hit ENTER,the page postback and the
button's OnClick event won't be excuted.
What do I do to make it work.
Thanks.
... more >>
databind and getting values
Posted by pelegk1 at 7/14/2007 4:58:01 PM
when i bind a data from a select query to a grid view :
[code]
Dim myCommand As New Data.SqlClient.SqlCommand(sqlSelect, myConnection)
Dim myDataSet As New Data.DataSet
Dim myAdapter As New Data.SqlClient.SqlDataAdapter(myCommand)
myAdapter.Fill(myDataSet)... more >>
dynamic obect access
Posted by pelegk1 at 7/14/2007 4:44:00 PM
i have for exmaple few DDL
and i want each time to send to the function use the DDL name
and all the code in the function will be dnamic for example
ddlCountry.DataSource =...
will be
obj.DataSource =....
how can i do it?
and how can i do this by passing the function the object name
and doin... more >>
web.config question 2.0
Posted by eagle at 7/14/2007 11:22:41 AM
I have a web.config in my application that contains the connection strings
to all my datasources. I want to move these connection strings to another
web config up the folder hierarchy so that all my apps can use the same
connection strings. That is supposed to be how it's done, no? Instead of
... more >>
dropdown bind xml or table or array
Posted by Ganesh at 7/14/2007 10:56:20 AM
Hi There,
I use asp.net 2.0, i've a dropdownlist box, which will be loaded from table,
it may contain 10 to 50 records. User might keep calling this page several
times. more than 1000 users at any time would access.
Do i need to bind from xml file or just call the table. which one is the
... more >>
How to RUN a fil from my website?
Posted by Tim McGavin at 7/14/2007 10:19:08 AM
I have a file that is not typical. It is called "opend.smp". If the file
is located on the desktop and a user double-clicks it, a local proprietary
program is launched. How can I make this happen from my website? i have
the file "opend.smp" located on my website but it won't launch the loc... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Regular expression for word counting
Posted by drasko at 7/14/2007 9:57:02 AM
Hi, I have RegularExpressionValidator control and I wish to set it up
for limiting input text in textarea to 50 words. Users can enter text
they like, using all ".",",","!","?","@" and other symbols. All that
matters is that there can be maximum 49 whitespace characters. How can
write regular ex... more >>
Timeout Clarification (All 5 of them)
Posted by R3al1ty at 7/14/2007 2:45:35 AM
ASP.NET, Windows Forms, Web Services
WebService Proxy Timeout = 100secs
WebService Asmx = Unlimited?
IIS ASP ScriptTimeout = 90secs
IIS ASP.NET Execution Timeout = 110secs
SQL CommandTimeout = 30secs
I've been running tests to see where these number hit, based on my
analysis:
1. Smart... more >>
|