all groups > dotnet ado.net > october 2003 > threads for monday october 20
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
Debugging stored procedures with '.' in the name
Posted by pgrkovic NO[at]SPAM hotmail.com at 10/20/2003 11:19:57 PM
Hi.
I have some problems debugging stored procedure that have '.' (dot) in
the name. If I choose to step into such a procedure, Visual Studio
stops responding before showing me the dialog with the parameters.
Is there any workaround?
Thanks.
- Pedja.... more >>
Doubt in DataReader functionality..
Posted by Imaya kumar Jagannathan at 10/20/2003 8:05:11 PM
HI,
When using a datareader, will the Connection remain until
the datareader is closed or the connection is made
everytime when the 'Read' method is called?
Sample code.
While dr.Read
' Manipulations
....
..
..
End While
dr.Close()
My friend says, here the connection is ma... more >>
Size of datacolumn
Posted by F. A.B. at 10/20/2003 7:38:20 PM
Hi,
The datatype property of a datacolumn tells me about its type, but how can i
have the size of a datacolumn.
Thanks for your help.
... more >>
NewRowBuilder
Posted by Chris at 10/20/2003 5:21:30 PM
Hi,
We want different row types at the same time in a DataTable. The idea behind
this is to support a kind of inheritance in a table. To do this, we had
overridden the NewRowFromBuilder method. Then we select the row type
construction using a special column that contains the type of the databa... more >>
HOW TO LOOP THROUGH SORTED DATAVIEW?
Posted by Aric Levin at 10/20/2003 5:17:26 PM
I have a Dataview that I read from a Dataset.
I am trying to sort the items in the Dataview and read the sorted items, but
it does not display the sorted items.
Here is the code:
DataView myDataView = oDS.Tables[0].DefaultView;
// By default, the first column sorted ascending.
myD... more >>
Can't open connection to SQL Server DB
Posted by Sandy at 10/20/2003 4:32:04 PM
Hi!
I am trying to open a connection to a SQL Server database
using just the Framework, Notepad and the browser. I keep
getting the error message "SQL Server does not exist or
access is denied."
I am using the following for the connection:
Dim conPubs As SqlConnection
ConPubs = New ... more >>
Retrieve stored procedure parameters before execute
Posted by Laurent at 10/20/2003 4:04:04 PM
Hi,
I would like to retrieve the names of the parameters of a strored procedure
without execute it...
Any idea ?
... more >>
.NET Can't Write to Access Database from Web Page
Posted by Don Woods at 10/20/2003 3:33:36 PM
System: XP Pro, IIS, Access 2000, Visual Studio .NET
I'm accessing an access database from a webpage. I have
no trouble using select to access the information, but I
receive errors when I try and UPDATE, DELETE or INSERT.
If i use Access 2000 directly I can. Any ideas on how I
can figur... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Access & Images
Posted by Daniel Bello Urizarri at 10/20/2003 3:15:48 PM
Hi: Im trying to store a byte array on an access database, I selected "Ole
object" as the column type, but it seems not to be the correct way.. Is
there any way to store long byte arrays in a table on an access database?
... more >>
Bug in OracleClient?
Posted by SYNUFKARAZNB NO[at]SPAM spammotel.com at 10/20/2003 3:05:39 PM
I've got a bug that I'd like to report regarding the OracleClient, but
can't see any way to do so on the Microsoft Support site.
Since Microsoft reps listen here, I'll post the bug and it's
workaround here.
Thanks...
-dave
--- Bug Report Follows ---
PROBLEM:
In the Microsoft OracleCl... more >>
Is there a limit to the size of a SQL command that I am trying to execute?
Posted by johngilmer NO[at]SPAM yahoo.com at 10/20/2003 1:22:36 PM
I would like to be able to run a batch sql script from inside my
application on a SQL Server 2K database. The script has all sorts of
commands (inserts, updates, deletes, creating indexes, etc.). It's the
sort of thing that I could copy into a window of Query Analyzer and
run. It could be pretty... more >>
Filtering DataSet Question
Posted by Mike at 10/20/2003 11:24:11 AM
Hi,
I have two question regarding retrieving results from a DataSet. First,
what is the best way to retrieve results from a dataset with a filter?
Right now I am using the DataView class. I also have a question regarding
the DataView class. Using the code below how do I cast the data return... more >>
Dataset and Query Builder error
Posted by T Lange at 10/20/2003 10:58:36 AM
I have a table with close to 100 columns in it. When I
try to create a data adapter for it in VB.NET using all
columns, I get an error when it generates the SELECT
statement that just says "There were errors configuring
the data adapter". It does not matter whether I choose
to use SQL Qu... more >>
Filtering DataSet
Posted by Mike at 10/20/2003 10:26:42 AM
Hi,
I have two question regarding retrieving results from a DataSet. First,
what is the best way to retrieve results from a dataset with a filter?
Right now I am using the DataView class. I also have a question regarding
the DataView class. Using the code below how do I cast the data return... more >>
excel to sql server - dataset update
Posted by laurie_neale NO[at]SPAM yahoo.co.uk at 10/20/2003 10:26:25 AM
Hello all,
My aim is to populate a sql server table from an Excel spreadsheet.
I have opened a dataset from excel.
I have also opened a data set from a sql server table(purposely
requesting the first line only to save space).
I have then merged the two.
I now need to insert the new (merg... more >>
DataBind rows x to y to an ASP.NET repeater
Posted by Steve at 10/20/2003 6:56:12 AM
Hi All,
Is there a way that I can bind a certain range of rows in
a DataSet to an ASP.NET repeater? I want to add paging
to the repeater, so only want to display 10 rows of the
dataset on each page.
I did manage to do this by creating a DataView of the
DataSet and deleting all rows th... more >>
Trouble with Dataset
Posted by grawsha2000 NO[at]SPAM yahoo.com at 10/20/2003 6:13:23 AM
Hi,
I'm having some difficulties updating a Dataset. The problem is the
Dataset does not get updated when I modify a bound textbox. Although
I see the changes whene I move next or previous in the form, however,
when I check the HasChanges flage of Dataset, it returns False. This
clearly ca... more >>
Newbie: OleDbCommandBuilder won't work
Posted by namor NO[at]SPAM yandex.ru at 10/20/2003 4:07:47 AM
Hi there!
Everyone has no problem with OleDbCommandBuilder but I fighting with
it for quite long time... Nothing special, SQL Server 2000, simple
program in VB.NET that causes no error. When I debug I see that
everything is correct, data in dataset is changed but, no changes in
database.
... more >>
Different results when querying VIEW from QA and code
Posted by Gary Varga at 10/20/2003 4:06:46 AM
I have a VIEW as follows:
CREATE VIEW dbo.System_Data_Dictionary_Tables
AS
SELECT INFORMATION_SCHEMA.TABLES.TABLE_NAME AS
Table_Name,
(SELECT REPLACE(CAST
(sysproperties.value AS NVARCHAR(255)), ',', ';')
FROM sysproperties
WHERE ((sysobjects.id =
sysproperties.id) AND (sysp... more >>
IDbDataAdapter Interface
Posted by Jörgen_Björkman at 10/20/2003 3:30:51 AM
I declared a variable as IDbDataAdapter and instanciated
it via the Activator (Activator.CreateInstance, where the
string value was read from an ini-file). The Problem is
that the variable only accepts DataSets for Fill and
Update, I would like to pass DataTables (and DataRows)
like when th... more >>
How to use InsertCommand,UpdateCommand,DeleteCommand
Posted by Bharat at 10/20/2003 3:19:20 AM
Hi all,
Can anyone explain me how to use the Dataadapter methods
like insertcommand,updatecommand and deletecommand with
some clear samples. What I wanna know is how will you add
a new record or edit an existing record and so on via
these methods.
Any help appreciated.
Thanks
Bha... more >>
ODP.NET simple procedure call example?
Posted by dominic NO[at]SPAM vitrasoft.com at 10/20/2003 12:39:55 AM
There are many examples out there of how to do SQL or REF CUR's for
ODP.NET. I can't for the life of me find an ASP/VB example of a
straight procedure call, nothing fancy. I think I'm close, but I
can't figure out how to get the values from the output parameters.
Anybody have a working exampl... more >>
|