all groups > dotnet ado.net > february 2004 > threads for friday february 13
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
tricky locking problem with ado.net sql2000
Posted by wrxguru NO[at]SPAM iprimus.com-dot-au.no-spam.invalid at 2/13/2004 9:37:23 PM
Hi, I have an application where a group of tables are updated.. one of
the table (product) holds the latest product number .. to find the
latest prod # i just use a sqlreader then when i find the latest # i
add one to it. i then insert it via a dataadapter/dataset. i then
go to execute the sq... more >>
Under the hood of DataReader
Posted by Yasutaka Ito at 2/13/2004 7:07:13 PM
Hi,
My friend had a little confusion about the working of DataReader after
reading an article from MSDN. Following is a message from him...
<!-- Message starts -->
I was going thru DataReader in ADO.NET in MSDN and there is a confusion
regarding the buffering
of data in case of DATAREADER.... more >>
How to Create and Test the WebService ?
Posted by ElanKathir at 2/13/2004 6:46:49 PM
Hi=20
How to Create the WebService and How to test the it ?
I paste the Code here,
In that Code, What is Role of NameSapce? The NameSapce ref the =
http://tempuri.org/, Why?
How to Call the Method HelloWorld ?
Imports System.Web.Services
<WebService(Namespace :=3D "http://tempur... more >>
Check this out with DataAdapter.
Posted by Sachy at 2/13/2004 5:11:07 PM
Hi NG members
Has anyone out here tried to carry out some Stress test on dataadapter.fill()
Guys try this
Simple query with 1 or 2 join
Tables not having more than 1K records
Use da.Fill(ds
Bind a table to some grid. No fancy stuff --- You will notice problems here as tables object itself is... more >>
Need to double inverted commas if using parameters?
Posted by Jon Maz at 2/13/2004 4:48:53 PM
Hi,
A quick one:
If you are forming a dynamic sql statement using parameters from a web form,
you would normally double up any single inverted commas inputted by the user
to stop sql injection. But if you are using command parameters to build the
sql statement (as below), is this still nec... more >>
TypeOf vs IsDBNull
Posted by Anonymous at 2/13/2004 3:54:42 PM
Which of the following codes is recommended?
Is there any difference between them?
If TypeOf dr("colname") Is DBNull Then
' Do work
End If
If IsDBNull(dr("colname")) Then
' Do work
EndIf
... more >>
Tricky DataSet Question
Posted by Prince at 2/13/2004 2:57:06 PM
I've filled a DataSet,ds, with a table, State. The
schema is similar to the following:
State
============
ID
CountryID
StateAbrev
StateName
I've loaded the State table into the dataset, ds. The
StateAbrev has all the state abreviations. How can I get
the record number of a stat... more >>
Bug in calling Select when criteria involves an expression column?
Posted by Marina at 2/13/2004 2:29:05 PM
Hi,
I have an expression column (integer). This column gets populated
correctly.
I then have a Select, that is:
dt.Select("Calc = " & dt.Compute("Min(Calc)", "") & "")
Now, as you see, first I am computing the minimum value of the column, and
then using that in the select. Now, this ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Object reference not set to an instance of an object when trying to Update dataadapter.
Posted by agaskelluk NO[at]SPAM yahoo.com at 2/13/2004 2:04:09 PM
Hi All
I want to synchronize a database table on SQL Server with MSDE on a
client laptop. I have a web service on the server which returns the
SQL table as XML. I save the XML to disk on the client and then load
it into a dataset. I then want to replace the entire contents of a
table on the loc... more >>
ADO.NET Search/Find
Posted by Haroon at 2/13/2004 11:11:25 AM
I have a Data Grid Binded. I want to implement search on Multiple column in
the Grid. i.e. if the a required crieteria is found on the multiple columns
of the grid, I move the pointer to that row in the grid and retrieve that
selected datarow from the datatable.
I would appreciate any web-resour... more >>
Geting info from a Datarow
Posted by mikezcg NO[at]SPAM yahoo-dot-com.no-spam.invalid at 2/13/2004 10:38:36 AM
I would like to see the data in my datarow.
what i am trying is
for each datacolm in datatable.columns
debug.writeline (drow.tostirng & " = " & HOW DO I GET THE
VALUE of the row??
Next
i created a watch and see that the info is in my itemArray list
but there is no item.count for datar... more >>
Trying to understand ado.net transactions
Posted by Gandalf at 2/13/2004 10:18:57 AM
I'm trying to understand ado.net transactions and am a bit lost. What I
don't understand is, when I begin a transaction on a connection and obtain a
transaction object, why I must then pass this transaction object to command
objects that use the connection. I mean, doesn't the transaction belong ... more >>
C# and/or SQL gurus needed ! sql bit field & c#
Posted by VegaGucci at 2/13/2004 9:43:24 AM
Hi there,
I am trying to get the value of an SQL bit field, to link it to an groupbox
with 2 radiobuttons.
but for some reason..the value of the bit field is NEVER 1/true
code:
if sqlfield=true
radioYES.checked=true
else
radioNO.checked=true
I've tried this if (data.tabe... more >>
Binding with a DataRelation
Posted by David D. McCrory at 2/13/2004 9:34:29 AM
I have a typed dataset that has 2 tables that are related using a
DataRelation. I am displaying the data in 2 separate grids. I want to be
able to select a record in the parent grid and only display the related
child records in the child grid. I have read several posts that discuss
binding to a ... more >>
Importing Files To DB Using VB.NET and ADO.NET
Posted by Anonymous at 2/13/2004 8:01:09 AM
I did this before in VB 6.0/5.0. But how do you programmatcally write code using VB.NET and ADO.NET to import Excel/Text files into a database? Eg., the Excel file/Text file has columns of Account Number and Amount and need to be imported to a Table with fields Account Number and Amount. I think I ... more >>
Bulk Insert into an Access database
Posted by Nigel Findlater at 2/13/2004 6:11:05 AM
Hallo
I have a very large dataset that I am inserting into an access database using INSERT Commands. The problem is that individually inserting row by row is too slow. What is the fastest way to insert a very large dataset (or flat file) into an access database via VB.NET?
Thanks...
Nigel..... more >>
Error:Operation must use an updateable query
Posted by Ken at 2/13/2004 5:46:07 AM
Hi
I am getting the 'Operation must use an updateable query' error when i am trying to insert some data into the access db!
I have checked for the permissions, all the permissions are ok, at the same time i also changed the settings in machinge.config file from 'machine' to 'SYSTEM'. Any other ide... more >>
|