all groups > dotnet ado.net > september 2003 > threads for thursday september 18
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
Re: Windows Integrated Security
Posted by vivek at 9/18/2003 10:27:06 PM
Hi Guys,
I am building a small web application using .NET
technologies with SQL Server as my database server. My web
application consists of several web forms which access the
database and update it.
I am using the Windows Integrated Security for my SQL
Server access and I am able to a... more >>
Help: How do u get primary key from a dataset after update inserts new row?
Posted by Barley T. at 9/18/2003 9:05:34 PM
I have an SQL table with the primary key set as autoincrement.
My goal is to insert a new row using a dataset and then retrieve the
primary key of the row just created.
My code works some of the time, but the primary key I get back from the
dataset is not always in sync with the SQL server's ... more >>
Large Data Sets using DataReader
Posted by malin1248 NO[at]SPAM everestkc.net at 9/18/2003 8:37:58 PM
I have a stored procedure that will return a dataset that contains the
first n records of a select statement. I use a DataReader to retrieve
the records to write them to a file. When the SP only returns 10,000
records, it can process those records at a linear processing rate 1000
records in 2 ... more >>
access checking of booleans in select statement
Posted by Brian Henry at 9/18/2003 7:59:01 PM
if i have a table like this
ID Name Accessable
1 Me yes
in access with accessable as a yes/no field (or a boolean) how do i write a
statement in ado.net to check that? obviously yes or no wont work in a query
builder for criteria... it kicks it out...
i had select us... more >>
dataview.rowfilter supports lcase and ucase?
Posted by Mat at 9/18/2003 7:57:39 PM
dataview.rowfilter="lcase(mycolumn1)='aaaa'"
... more >>
URGENT: 'OraOLEDB.OleDb' provider is not registered on the local machine
Posted by DDE at 9/18/2003 7:27:23 PM
Hi,
I am working with .Net Framework 1.1 for weeks, using OraOleDb provider.
Suddenly I got the following message:
'OraOLEDB.OleDb' provider is not registered on the local machine
No idea of what happend.
Any clues welcome.
Dominique
... more >>
XML DataSet question/problem
Posted by Jeff Petter at 9/18/2003 6:51:20 PM
I must admit, this is all new to me, so this may seem a bit remedial, =
but I'm having a tough time finding helpful documentation dealing with =
my problem.
I'm writing a small group calendar to display members exceptions to =
being in office. The first page is a login page, and following a =
... more >>
Cancel Command ADO.NET
Posted by Rodrigo Meneses at 9/18/2003 5:45:39 PM
Hello.
The cancel command interrupts the current query being executed... but when I
run another query using the same connection (or another connection using
connection pooling) sometimes I get another "Operation Cancelled by user"
exception. It appears that the Cancel command runs asynchronously... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Exception Handling
Posted by shimonsim NO[at]SPAM talamus.com at 9/18/2003 3:14:48 PM
Hi
Is there some general way to figure out reason for SqlException.
1) constraints: PK, FK or other - may be it is possible to find out with on?
like in case of triggers and constraints
2) missing objects
3) no connections, identity problem or lost connection with server.
Thanks
Shimon
... more >>
Datagrid: changing cell color
Posted by JR at 9/18/2003 3:09:21 PM
Hello,
I've been successful changing general datagrid format
through the interface provided in VS.NET. Nice tool.
However, I now need to have different cells within a
datagrid have different background colors, depending on
the numerical value displayed in the cell. I can't
figure out h... more >>
Excel Worksheet Name via ADO
Posted by Lance Geeck at 9/18/2003 3:03:17 PM
Hi,
I need to be able to read data from an Excel spread sheet via ado.net
My problem is that the names of the worksheets are not standardized. Also,
there may be more than one worksheet in an excel file, and I need to let the
operator select the proper worksheet from a list.
What I am tr... more >>
Deleting columns from a DataTable
Posted by thomas_w_brown NO[at]SPAM countrywide.com at 9/18/2003 2:33:07 PM
I have a DataTable that I've filled from a query, it has five columns
and eight rows. Three of the columns comprise the primary key and I
want to remove two of them.
Here is what I'm trying and it is almost working...
table.PrimaryKey = null; // so we can delete primary key columns
C... more >>
Excel Report
Posted by KC at 9/18/2003 2:32:50 PM
Hi Gurus,
We have a requirement for multiple huge report (over 50 page each) that
needs to be outputted on excel. Data item for the report comes from two
different sources; one from a UI where users can define their items and
change values (name value pair kind of scenario) and some data from
d... more >>
Connection string in UDL-file
Posted by Christian Pické at 9/18/2003 2:28:20 PM
Hi,
I want to store my connection parameters in a UDL-file. The building of the
file was easy, but I can't use the file. In an example I found this:
myConnection.ConnectionString = "File Name=GenesisNET.udl";
but when I try to open the connection I get this error message:
An unhand... more >>
Is it possible to combine two columns in DataView?
Posted by Stan at 9/18/2003 1:33:54 PM
Hi,
My stored procedure returns FirstName and LastName fields.
I want to bind a DropDownList to the results of this stored procedure and
combine two those fields.
Although it would be very easy to make a database view (SELECT FirstName + '
' + LastName ....) I don't want to do that.
Is... more >>
ColumnMappings screw up FillSchema?
Posted by Brian Newtz at 9/18/2003 1:23:48 PM
This is frustrating the heck out of me...
I have an OleDbConnection, DataAdapter, and DataSet and I
want to want to map some columns before I fill the schema
of the datatable. For example:
.... do all the initial stuff like set up connection,
instantiate the dataadapter, etc...
acc... more >>
Invoking .NET DLL from ASP page
Posted by Ezhilan Muniswaran at 9/18/2003 1:02:39 PM
Hi:
I have an ASP page that creates a VB dll which in turn calls a Class
Libraries created in .NET. This set up works fine in my development machine.
When I try to deploy this to the Web Server ( I installed the VB dll and
copied the Bin directory of the .NET class library into the Web Server ... more >>
Dataset question: having issues with specific tables
Posted by brianlappin NO[at]SPAM yahoo.com at 9/18/2003 11:41:29 AM
Hello -
Im new to ADO.NET so bear with me here.
I have an Access DB, simplified as follows:
TABLE Person
person_ID autonumber PK
last_name text
first_name text
person_type number FK
TABLE Person_Types
person_type number PK
person_type_desc text
The second table is just a Lo... more >>
Save an Excel from to client using Asp.Net
Posted by akodoshujun NO[at]SPAM earthlink.net at 9/18/2003 11:39:07 AM
I'm writing a web application that exports and imports excel files.
The application gets a list of users and their info and displays it in
a datagrid .The user then selects to save the file as a tab delimited
file or an excel file. The application then saves the file in the
correct format.
The... more >>
MySQL Provider
Posted by Gary Jordan at 9/18/2003 11:38:40 AM
Hello,
Does anyone which provider should be used when connecting to a MySQL
database.
Thanks,
Gary
... more >>
Copy data from one column to another column
Posted by philin at 9/18/2003 11:30:24 AM
Hi,
I have a datatable in my application. Now I need copy data
from column 1 to column 2. Because the table has thousands
of rows, I can't do this by copying data one by one.
Thanks a lot for your help.
philin... more >>
IsDBNull
Posted by medhanush NO[at]SPAM yahoo.com at 9/18/2003 9:24:42 AM
Hi,
Can sb tell me is there any diff b/n
object == System.DBNull.Value and
Convert.IsDBNull( object )
TIA
Kishore... more >>
Use of Null keyword in CommandText
Posted by camel NO[at]SPAM parallelsolutions.com.au at 9/18/2003 6:32:27 AM
Hi,
I have the following SQL code :
SELECT null AS Fred from Debtors
This is part of the SelectCommand.CommandText for an OleDbAdapter (Jet
4). When I test this SQL within Visual Studio I get a binary value,
not a blank field.
I also get the following error when the SQL is parsed :
... more >>
fastest way to insert data (no bulk insert, no dts)
Posted by Hakan Eren at 9/18/2003 5:52:07 AM
Hi all,
What is the fastest way to insert data using ADO.Net?
I have to insert more than 500.000 records and calling
xCommand.ExecuteNonQuery is no good.
I also tried filling a data table first and then updating
it.
SQL Server's Bulk insert operation is even more than good
bu it re... more >>
How to open access db in exclusive mode with ado.net?
Posted by Mat at 9/18/2003 12:48:05 AM
how the connecting string will look like?
... more >>
|