all groups > vb.net data > january 2005
How Do I convert SQL day of week constants to their longname
Posted by IT NO[at]SPAM ECommunity at 1/31/2005 10:48:28 AM
I have a tables called tasks, for each task I have a comma delimited field
for storing their schedule using SQL constants.
How do I display the longname value of the constants when the data is pulled
up into a data grid.
When a user fires up the app I give them a list of process that need... more >>
Sqlcommandbuilder doesn't work
Posted by Ellis Yu at 1/25/2005 7:31:01 PM
Dear all,
I write a program to update records and I make use of
Sqlcommandbuilder to produce the update, delete, insert command for me. It's
fine in update and insert record to database except delete. My delete
procedure is shown as below:
Public Sub DeleteRow(ByVal id as string)
... more >>
.net howto show data?
Posted by poehler.markus NO[at]SPAM ktn.thyssenkrupp.com at 1/24/2005 6:10:57 AM
Hi
I am nearly crying! I am reading MS Press Book and I understood what
DataAdapter, Dataset, Datatable ... is. But: I can't manage to simply
SHOW the Data I have stored into my DataAdapter.
Dim ds As New DataSet
da_Asset.Fill(ds)
I created a Datadapter and filled a Dataset. Howto ... more >>
Can use .fill()...help?
Posted by Brett at 1/22/2005 10:01:03 AM
I've been trying to fill form objects with data but always get this error:
An unhandled exception of type 'system.data.sqlclient.sqlexception'
occured in system.data.dll
Additional information: System error.
I don't know what the above means because there isn't any additional
information. ... more >>
Database copy to Dataset
Posted by Najm at 1/21/2005 2:32:15 PM
Hi,
is there a way to have an exact copy of a database copied to a dataset
including the relations and constraints?
Thanks
... more >>
Interacting with SQL SERVER DBs
Posted by Najm at 1/19/2005 7:49:42 PM
Hi,
I am new to Databases in VB.NET. I had no problem using them in VB 6.0.
I find that it's a bit confusing under VB.NET especially that the literature
available presents sophisticated examples (with lots of "bells and
whistles") that tend to lose users that prefer starting with simple and raw
... more >>
SQL query... is there a better way?
Posted by Scott Reynolds at 1/18/2005 6:26:11 PM
Hi,
I am using following code to read and generate SQL query based on values
stored in ArrayList. But I am not sure if it is the best way... all
suggestions are
welcome!
Thank you!
Scott
Dim SqlQuery As String
Dim SqlCity As String
If Not Cities.Count = 0 Then
For i As Integ... more >>
SQLReader and Stored Procedure No results shows rdr as having rows????
Posted by Roger at 1/18/2005 2:26:41 PM
I have a stored procedure I am calling to return resuts if there any to a
sqldatareader.
The problem I am having is my code thinks it is always returning results...
the While rdr2.read always passes and the rdr2.has rows is true even
if the stored procdure returns no results.
I have teste... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Populating a dataset
Posted by Stephen at 1/17/2005 10:22:17 AM
Hi folks
I have a question that hopefully the answer will point me in the right
direction.
I have two tables...
the first is as three fields Id, lot,amtReceived...... Id is the pk
the 2nd as three fields, bridge,antShipped,ShipDate..... Bridge is the fk
ok..now what I need to know is...... more >>
Database Maintenance from VB.Net App
Posted by Clay Ramsey at 1/13/2005 9:13:02 AM
Hi all -
I am developing a MDI windows app that uses MSDE as it's data-store. I am
coding some simple maintenance procedures (pickable as a menu item from the
parent form), such as backup database, delete old records, and restore
database. Backup and deletion (coupled with a dbcc shrinkd... more >>
Cannot update the cursor blah, since it is read-only
Posted by SQLScott at 1/13/2005 8:55:01 AM
I have a VB.Net web service that access a foxpro database. The web service
and the foxpro db are on the same box.
One of the methods in that web service tries to update a column in one of
the foxpro tables, but I get the error:
Cannot update the cursor User, since it is read-only
The r... more >>
DataReader has no string identifier reference only ordinal column number?
Posted by Rob R. Ainscough at 1/9/2005 12:23:09 PM
I'm used to referencing columns (fields) using a string identifier (i.e.
"CustomerName") -- this doesn't appear to be an option with the
DataReader -- I can only reference a field using a .Get<type>(<ordinal
column position>) (i.e. dr_Data.GetString(1) -- where 1 is the second
ordinal posi... more >>
How do I hide a column from an autogenerated grid
Posted by Viet at 1/7/2005 11:48:44 AM
Does anyone know how to hide a particular column from an autogenerated grid?
Below is what I have done to read a XML file and display the data onto a
grid. The first column (ID) does not get hidden.
I have read that once cannot easily hide columns in the autogenerated grid
but most of the exam... more >>
Link Child Fields/Link Master Fields
Posted by Mark at 1/6/2005 9:07:31 PM
In my form (Teachers), how do I make my datagrid (classes) change to reflect
the classes my selected teacher teaches?
I can do this in MS Access by using the Link Child Fields/Link Master
Fields, for a frame of reference.
I am using VB in Visual Studios 2003.
Thank you,
Monty
... more >>
How do I display a child window in the datagrid ?
Posted by Viet at 1/6/2005 12:48:17 PM
I have a datagrid that reads in a XML file but it displays the parent window
all the time. How do I change it to display the child window only in vb.net?
Thanks!
Jonathan
... more >>
Child window in Datagrid
Posted by Viet at 1/5/2005 4:29:27 PM
Does anyone know how to display just the child window in the Datagrid
control instead of the default parent-child tree in vb.net?
thanks!
... more >>
VB6 Grid to MS.NET grid (DataGrid Control)
Posted by Viet at 1/4/2005 12:34:03 PM
I am unfamiliar with the MS.NET datagrid control so I am hoping someone
could convet the following VB6 grid control code to the MS Datagrid control.
I understand that the Datagrid control is implemented very differenly than
the VB6 grid control (such as the labeling of columns, column widths etc)... more >>
OOP and Databases
Posted by Harry Steffens at 1/3/2005 3:19:10 PM
I am new to OOP programming with VB.NET. I have a question about designing a
programming with a database and multiple tables. What sould my approach be
when creating classes? I was thinking of creating a class for each table? If
someone can give me an idea if I am on the right track or if I do no... more >>
|