| Thread | Last Post | Replies |
|
| Speed up of connection to SQL Sever from VB.NET | 30 Sep 2005 19:09 GMT | 6 |
I am running a tiny SQL Server 2000 database on a Small Business server premium edition. I am connecting (using SQL Server security logins) to it from 2 XP professional workstations each running the same simple VB.NET program. (I am not running the server as a domain
|
| DataGrid Column Headers and Size | 30 Sep 2005 18:09 GMT | 2 |
Hi List, I use the folloiwng code to fill up a DataGrid with one table's data from SQL: fillGrid.SetDataBinding(m_DataSet, tableName)
|
| Exception has been thrown by the target of an invocation mscorlib | 30 Sep 2005 17:27 GMT | 3 |
Dear Friends, I'm trying to create a .NET class named TESTE using VB.NET that can be called by an ASP page but I got an error that I could not fix. TEST CLASS code:
|
| What wrong with this simple code snippit? | 30 Sep 2005 15:14 GMT | 4 |
Whats wrong with the below code? On every loop it seems to be jumping 3 sometimes 4 records. As you can see the SQL query is asking for all records with no filters. I want to loop each record as I asked. Is there something with wrong with my code? Thanks in adavnce, Steve.
|
| Database doesn't update from datagrid using dataset | 30 Sep 2005 15:09 GMT | 1 |
I'm attempting to update an SQL Server database from a datagrid. I have followed one of microsofts walkthroughs as far as possible, but I am using stored procedures where it did not, though i don't think that should be a problem.
|
| ODBC .Net Data Provider not working on production web server | 30 Sep 2005 13:39 GMT | 2 |
OK, I have a solution that works fine on my laptop and my desktop. When I tried to move the solution to the production server, I keep getting the error message ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found
|
| SqlParameter for IN-Clausel (int values)? | 30 Sep 2005 07:36 GMT | 4 |
Hi Ng, i have a sucking problem...... select * from test where nId IN (1, 2, 3) Now i want to execute this with an sqlcommand and more interesting with
|
| Whats wrong with short code snippit? | 30 Sep 2005 06:18 GMT | 1 |
Why is the last line of this code snippit pulling up with an error? Any help will be appreciated - Thanks, Steve. string str_SQLLayoutsPound = "SELECT * FROM Layouts ORDER BY Name"; OleDbCommand obj_SQLLayoutsPound = new OleDbCommand( str_SQLLayoutsPound,
|
| Cint(null) | 30 Sep 2005 02:34 GMT | 4 |
I have code that stores integer data from the control to the database. (I am using Option Strict). The problem is when I try to do the code below, I get that the string is not properly formatted because there is no value. Each page has a lot of variables. Is there a way to solve
|
| ExecuteNonQuery | 29 Sep 2005 23:58 GMT | 3 |
I am trying to get the number of records selected using the ExecuteNonQuery (MARKED BELOW BY ***). It does not crash but returns a "-1". The select returns one record. What am I doing wrong? please help. strSQL = "SELECT [med-id], [animal-id], [animal-name], medication, date,
|
| NullReferenceException when you update a column value in OnRowUpdating event handler | 29 Sep 2005 22:00 GMT | 1 |
I am getting a NullReferenceException deep in the bowels of ADO.NET. I figured out that it only happens when I change column values within RowUpdating event handler. private void _dataAdapter_RowUpdating(object sender, OleDbRowUpdatingEventArgs
|
| Where are DataSets Stored?? | 29 Sep 2005 21:44 GMT | 5 |
This Point has always make me confuse Sure that DataSet is in the RAM but where in the RAM the Server or the Client Shall be Very Kind of you if any one can take a lill of there time to
|
| Does ExecuteReader allow you to return a record name? | 29 Sep 2005 21:16 GMT | 1 |
I''ve created an OleDbDataReader that will contain the number of records that the used SQL query will return. I'm then using a while loop to loop while the OleDBDataReader object has records. I would like to know does the OleDbDataReader contain the actual information on each ...
|
| Displaying Select columns(windows forms app) | 29 Sep 2005 17:24 GMT | 3 |
This is really stumping me. I have a dataset where I compute certain columns because I need to reorganize the data to a certain format, but I need to take the new columns and put them into a new dataset. I have a custom control where a user performs some actions and it combines
|
| update call not working | 29 Sep 2005 17:23 GMT | 2 |
My update method is not working, I am getting An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in system.data.dll Additional information: System error.
|