Archived Months
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
all groups > vb.net data > may 2004

Dataview small Question
Posted by Mat at 5/31/2004 8:57:30 PM
I create a dataview on table. the dataview filter rows, which ID is between 1 and 10. What happens if i add a new row with ID= 5 to table after rowfilter method is called? Will this row be in my dataview automatically or i have to call rowfilter again in order that new row be in my datav...more >>


Column Description?
Posted by Micromause at 5/30/2004 8:58:01 PM
I was wondering how you can pull the description of the column item? http://users.adelphia.net/~micromause/oledb.png Thanks! ...more >>

Set null value to a binding textbox
Posted by Juanjo at 5/28/2004 9:04:58 AM
How can set nothing value to a textbox binding to a decimal dataset column that allow null values? If I enter nothing in the textbox, it doesn't accept the new value and it goes back to the previous value. ¿How I can set again to Null? Regards. ...more >>

Which data provider are you using for Oracle?
Posted by Robert at 5/27/2004 9:33:19 PM
I am about to embark on the road of VB.NET and Oracle. What data providers are there? Robert ...more >>

Datagrid not saving single, new row
Posted by Brian Link at 5/25/2004 10:53:25 PM
I have a datagrid bound to a child table in an ADO datarelation. If I add a single entry and do a DataAdapter.Update, it will not save the row. If I either 1) add two rows or 2) select the second, empty row (resulting in an asterisk "New Row" row) then it will save the first successfully. I'...more >>

Why does ADO.Net not support Identity values?
Posted by Fred Flintstone at 5/25/2004 2:36:44 PM
Why, from VB.Net, can I not return an identity column value? It requires the use of a stored procedure. Why? What am I missing? Not being able to return and Identity value from a table defeats the purpose of relational database programming and design. So here I am, code all written and at...more >>

DataGrid Behavior in VS.net 2003
Posted by Atley at 5/24/2004 9:29:55 PM
How do I set my DataGrid to not allow new row additions in Visual Studio ..net 2003? I just want the users to be able to edit records already placed in the database previously, not to allow them to add new records. ...more >>

Trying to get subset of data in a grid
Posted by Atley at 5/23/2004 11:43:15 AM
I am using VB.net Ent Arch 2003. I have a dataset that was made through the wizard to create a Windows Data Form I have a DataGrid to show/edit the table from my DataSet. I want to: Be able to choose the subset of data from the table and then have that presented in the grid while still...more >>



DataGrid
Posted by Nabu at 5/23/2004 2:27:04 AM
I have built a customized ADO recordset. I would now like to put the data into a data grid, but the OleDbDataAdapter fill method wants a table name. Is there a way to put a customized recordset into a data grid without using a table name? or is there a default table name give to the recordset? ...more >>

Dataset vs Table performance
Posted by Dave at 5/20/2004 10:46:32 AM
Hi, Is there any real performance benefit to having 1 dataset with 15 tables, rather than 15 different datasets with 1 table? Thanks Dave ...more >>

File Manipulation function
Posted by hauyuanwen1980 NO[at]SPAM yahoo.com at 5/20/2004 6:40:11 AM
To all of the VB expert, Can anyone kindly answer my following questions: 1. In a text file, the content is just "abc", and then i press "enter" key, and save it. But if i use the fileLen(), the function will return the value of 5. But if i don't press the "enter" key, straight away...more >>

Changing the Data in an XML Dataset
Posted by Atley at 5/19/2004 9:33:21 AM
I want to edit the source of a Dataset I have set up using the Data Forms wizard. Is there a way to either filter the data to get the subset I want or to change the recordsource of the Dataset all together? btw this is in VB in VS.net 2003 ...more >>

Trying to Bind A DataGrid to a DataSet based on a SQL Select Statement
Posted by Atley at 5/18/2004 12:36:48 PM
Any ideas on how to do this correctly so I can set the tablestyles and not have the table show up as a child? I keep getting stuck, so if anyone can help, it would be greatly appreciated! ...more >>

Multithreading Programing
Posted by Federico Babelis at 5/17/2004 4:18:56 PM
Hi, I'need information and examples on Multithreading programming in VB.NET. Please send information to federico@gazum.com Thanks and Regards, Federico ...more >>

How to get database schema?
Posted by Bob Altman at 5/14/2004 1:04:15 PM
Hi all, Is there a way to get database schema info via ADO.Net? I have two databases (one is a Jet database, the other is an Oracle database). I want to enumerate the tables in the Jet database, and, for tables whose name meets a certain criteria, compare the table's field properties against...more >>

help with a data view
Posted by Neil Cooper at 5/12/2004 2:31:05 AM
Hi Needs some help with data view i have the following cod I have a class called DataClass see belo 'Option Explicit On Imports System.Dat Imports System.Data.SqlClien Public Class DataClas 'Private Shared strConnectionString As String = ("Provider=sqloledb;Data Source=(local);Initia...more >>

make an ole db connection dynamic
Posted by Jason M Canady at 5/11/2004 7:35:41 PM
I am trying to create a very simple app that could potentially be used at many workstations in our company. I would like the app to access an access db that resides on one of the pc's on the lan. what I would like to do is check for a connection to the db and if it does not exist open one usin...more >>

Datagrid not showing a datetime column correctly
Posted by Shannon at 5/10/2004 8:35:39 AM
I have a grid that is getting it's data from a stored procedure (Sql 2000). Anyway, the column is a datetime in sql.. but when vb grabs it and puts it in the datagrid, it only shows the mm/dd/yyyy. I want the time displayed as well. How do I do that... If I'm using a dataset.. please include th...more >>

is it possible??? typed dataset-->sql tables
Posted by Mat at 5/10/2004 1:30:25 AM
i have create ,using vs.net, typed dataset with relations. I would like to ask if it exists a tool,which can take the xml schema of typed dataset and generate equivalent SQL queries with relations so that i can create tables in my sql database. Thanks u ...more >>

Access a Problem?
Posted by Curt Emich at 5/8/2004 10:47:35 PM
I've tried every possible combination of commands to insert a new record into an Access table, and it just won't happen. Does anyone know if Access has problems working with .NET? Check out this link: http://www.dotnetextreme.com/code/BasicAdo.asp This is the simplest code sample I've se...more >>

Inserting A New Record
Posted by Curt Emich at 5/8/2004 9:29:50 PM
Can someone tell me specifically what's missing in this code so that it won't write the record into the database? Please, no references to lengthy, bloated, meandering articles telling me how to make a watch when I'm merely asking what time it is. Dim thisDataAdapter As OleDb.OleDbDataAda...more >>

choosing provider
Posted by Selva Chinnasamy at 5/8/2004 10:25:04 AM
Hi, I am about to develop a VB.NET app with MS-Access. Could anyone help me to decide choosing the provide. Whats the advantage of using ODBC provider? Will there be a potential risk of using OLEDB provider with Access. Please share me your thoughts, any articles realted with this. Sel...more >>

Invalid attempt to GetBytes on column '' , Please HELP
Posted by Tiraman at 5/7/2004 3:54:07 PM
Hi , I have a Stored Procedure that return an xml (by using the xml auto or explicit) in to some XmlReader and i m getting the following error . Invalid attempt to GetBytes on column ''. The GetBytes function can only be used on columns of type Text, NText, or Image. pleas note that ...more >>

Trying to Insert a Record
Posted by Curt Emich at 5/7/2004 12:28:57 PM
I'm trying to insert a new record into an MS Access table. The code below compiles and runs, but it doesn't write a record into the table. Can someone tell me why? Dim thisSelectCommand As New OleDb.OleDbCommand("SELECT * FROM Sessions", Me.OleDbConnection1) Dim thisDataAdapter As New Ol...more >>

Populating a ComboBox with reader
Posted by Stephen at 5/7/2004 9:48:25 AM
Greeting all I have a form that has a combobox. I populate it with a datareader and it works like i want it to.. BUT.( always the but huh).... I now want to reference a field in the row that does not appear in the combobox.. Im stumped thanks ...more >>

ListBox Binding Problem
Posted by hantwister NO[at]SPAM comcast.net at 5/6/2004 4:53:44 PM
I have a List Box that is Binded to a DataSource to hold a list of invoices. However, it dosen't seem to be populating. Is there any (known) reason for this? (I have cleared the DataSet and Filled it using the DataAdapter)....more >>

FIELD NULL ERROR
Posted by msnews.microsoft.com at 5/5/2004 8:15:31 PM
Hello. I have some problem. I'm reading some data from MS-SQL Table, there are some Null value fields (VARCHAR Type). Now when I want to test if the field is empty (Null) there is error: (in VB.NET or C#.NET) I write : ------------------------- If Not SupplierDS.SUPPLIERS(i).ADDRESS Is DBN...more >>

DataSet Field Null value
Posted by msnews.microsoft.com at 5/5/2004 12:12:35 PM
Hello. How can I check if DataSet field value is Null? ...more >>

FIELD NULL VALUE
Posted by msnews.microsoft.com at 5/5/2004 12:06:21 PM
Hello. How can I check if DataSet field value is Null? ...more >>

Adding A Node To a DataSet
Posted by Stuart Shay at 5/4/2004 8:30:49 PM
In the Code Below I need to add a node to my DataSet Currently the XML is Returned in this Format <NewDataSet> <Orders> <OrderID>10248</OrderID> <CustomerID>VINET</CustomerID> </Orders> <Orders> <OrderID>10278</OrderID> <CustomerID>ZINET</CustomerID> </Orders> </NewDataSet> ...more >>

Inserting A New Record
Posted by Curt Emich at 5/4/2004 1:08:02 PM
I'm trying to insert a new record into an Access table based on values in the controls on a web form. I've tried a combination of techniques, none of which seem to work. Does anyone have any sample code that does this? All my books assume I'll be using stored procs, which I am not. ...more >>

DataReader Record Count
Posted by Rigs at 5/3/2004 11:27:10 AM
Hi, I have a datareader obj that returns a variable list of records. I would like to get a count of the number of records that were returned. I need that value to set a JavaScript array size. Is there a method or propery I can call on the datareader oject to obtain that value? I have not b...more >>

INPUT MASK FOR TEXTBOX IN WINDOWS FORM
Posted by msnews.microsoft.com at 5/3/2004 10:37:59 AM
Hello. How can I set input mask for TextBox in Windows Form? For example I want to mask (format) TextBox for inputing phone number like (999) 999-99-99. The TextBox must first show something like this: (___) ___-__-__ Or is there any free component for this? How can I do this? ...more >>

How can I make a selection on a XmlDataDocument with XPath?
Posted by xplain NO[at]SPAM pandora.be at 5/3/2004 7:46:57 AM
Ok this is an issue that kept me searching for days now, and I think I'm almost turning mad, cause I really can't find the solution. Ok so i have an application that uses a special treeview control, the xmltreeview. You can see it here: http://www.devx.com/dotnet/Article/17829 This treeview...more >>

Queried Data Into Text Boxes
Posted by bass2ply NO[at]SPAM comcast.net at 5/1/2004 4:34:20 PM
I have an Oracle table where I would like the queried data to go into text boxes. This is where I am at so far, and I am having a hard time finding examples to accomplish this. Should I use Oledb or ADO (this is a standard windows form)? How do I put each field in its own text box? How can I ...more >>

Typed Dataset
Posted by JJ at 5/1/2004 11:42:30 AM
Hi All, I have a typed data set that I that two tables joined in a one-to-many relationship. I have added the relationship to the dataset schema and all seems to be working well. The parent table is displayed in a datagrid. However, since a realtionship exists the datagrid insists on sh...more >>


DevelopmentNow Blog