Quantcast
Channel: Microsoft ADO .NET
Browsing latest articles
Browse All 103 View Live

No value given for one or more required parameters

I am trying to run the following method and keep getting the error "No value given for one or more required parameters". I've seen that if you have a field misspelled, that you can get this error, so I...

View Article



datatable rows count and dataview count differ

Hi, I found a strange problem with .Net datatable and dataview. I would appreciate if anybody caould explain it to me. I have a datatable that users update (adding, updating or deleting). The problem...

View Article

Retrieve new row after calling ImportRow

Any idea why the ImportRow method of DataTable does not return the new row? Do I have to use Select to get the newly added row? Thank you. Kalvin

View Article

accessing the ItemArray[] for a row in a dataset

I need some help. I'm beginning to think I'm a big idiot (keep those comments to yourself). I'm building a very simple data editing application. I fill a dataset on the form load event and tie some...

View Article

Association missing in dbml generated classes

I have a SQL-2005 database with 50 tables that I map to C# code with a Linq-to-SQL dbml file. I have done it many times and it always work fine. But this time I was surprised to to find out that some...

View Article


Text files and Linq to Entities

Hi. I am reading a text file using Linq, but can't get Linq to generate an index for each read line. I am using this code: Dim txt = From line In File.ReadAllLines("c:\data.txt").Skip(1) Where...

View Article

Second fill in Ado.recordset does not fill table

Hi, I have an issue with filling datatables from ADO.Recordset. May be somebody had an experience or clue with this behavior, please, share your knowledge Problem is following: Ado.Recordset is opened...

View Article

Advanced SQL injection complete tool pack(tutorials,scanners,admin...

Hello everybody , since i started learning SQLi , i have collected lots of good tools ,tutorials and documents , m still collecting more and more day by day as my scope of knowledge is increasing . So...

View Article


Re: Parameter size for NVARCHAR(MAX) data type?

Thank you this was very helpful. > On Monday, October 01, 2007 8:56 PM pedestrian via DotNetMonster.com wrote: > I have an ASP.NET 1.1 page to call a stored procedure in the SQL Server 2005. >...

View Article


Buy false USA,Australian,Canadian,French,UK,Mexican,South African passports

Our team is a unique producer of quality fake documents. We offer only original high-quality fake passports, driver's licenses,ID cards, stamps and other products for following countries: USA,...

View Article

dataset update

hi to all. i am try update the DB from dataset using adapter.update(). it's not working for multiple tables. now i need solution for that or how to copy some whole columns from one datset to another...

View Article

VB.NET and lambda expressions

Hi. I am experimenting with Linq to entities and lambda expressions and have a doubt on the usage of the Select extension. I can select a single field based on a lambda expression, but could not find...

View Article

How to set the data type to read from a text file

I am reading a text file with many rows, the columns are separated with ";" . On one column, named "agent" I have diferent types of data, text and numbers. I am using the following code to read the...

View Article


Can't add row to datagridview?

Hello, I'm trying to programmatically add a row to a SQL bound (via binding source) to a datagridview. The code is as follows: DataRowView drView = (DataRowView)stationBindingSource.AddNew();...

View Article

populating a TreeView control

Hello; VB.Net, .net 3.5, vs2008 I created a WPF app and I am trying to populate a treeview control with the local computers drives, folders and files. this is what I have so far: the treeview control...

View Article


Problem with wrong data in dataset using SQLDataAdapter.fill

We are experiencing an intermittent problem with our ASP.NET application. When using the SQLDataAdapter to fill a dataset, the dataset is sometimes being filled with the wrong data. It appears to be...

View Article

Strongly Typed DataSets and "Refresh the data table" Option

Hi, Using Visual Studio 2005 and SQL Server 2005: I am trying to understand the stored procedures that Strongly Typed Datasets wizard generates for me. When we create a new strongly typed Datasets, and...

View Article


Using SMO for SQL Server 2008 Express AND SQL Server 2005 Express

Hello, We have an application that uses SMO (SQL Server Management Objects) to interact with SQL Server. In the previous version of our product, we only supported connecting to SQL Server 2005 Express...

View Article

[ANN]VTD-XML 2.10

VTD-XML 2.10 is now released in Java, C#, C and C++. It can be downloaded at https://sourceforge.net/projects/vtd-xml/files/vtd-xml/ximpleware_2.10/. This release includes a number of new features and...

View Article

LINQ-to-SQL Previous values?

I have implemented a solution where I use LINQ-to-SQL to map all my objects to SQL database. Now I want to create an automated history log of the main objects. Objects are changed on several places in...

View Article

Performance and Memory Usage Consideration about DataTable and Dat

Hi, How do I free up the memory taken up by the .NET datatable and dataset after I finished working with them? How do I HELP the GC to do its job sooner to release memory taken up by DataTable/DataSet?...

View Article


Does aspnet_regsql.exe make any global changes?

I asked this in the security form, but didn't get a response... When I run aspnet_regsql.exe with no command line paremeters to get the GUI, does it do anything special to make the database I configure...

View Article


Urgent requirement for Senior-Dot net developers @ Hyderabad

Hi Professionals Greetings for the day!!! We have immediate requirement for Senior Dot net developers for Hyderabad location Comp Name : confidential Location: Hyderabad Please find the below job...

View Article

Set dataset element default value to empty string

I'm using vb.net 1.1 and VS2003. in the dataset designer I'm trying to set the default value of a dataset table column (actually its an attribute) to an empty string so I don't get dbnull error in my...

View Article

How to get SQL timestamp value using VB.NET

How do you get the actual value of a timestamp from a SQL Server 2000 database table using VB.Net? My recordset is returning a "System.Byte[]" Type. How can I convert it into something usable?

View Article


Re: Column does not belong to table

Cori, You told there was no information on internet but this simple search on MSDN gives quiet a few pages of text with answers....

View Article

DataSet Limitation?

I have a SQL table that has a column defined as Sql Data Type decimal(38,15). In case you are wondering, the precision and scope are that large because it contains 'scientific' numbers which require a...

View Article

SELECT with GROUP BY Joined to Subquery

I am using VS 2005 (no LINQ) and have been trying to figure out how to put these two queries together. Basically, I have one SELECT statement that gets the Max workdate by EmpID, and I want to join...

View Article

ODP.NET Dispose bug

My app running under iis was experiencing crashes when I started using ODP.NET 9.2.0.4.01, with the Oracle client 9.2.0.1.0 to replace legacy ADO calls. (I also tried with the new 10 client and ODP.NET...

View Article



dataSet GetXML

the GetXML method of the DataSet returns date fields in the format: 2005-10-09T15:13:00.0000000+02:00 can this be changed? TIA!!!

View Article

Wanted: Good LINQ tutorial

I'm trying to follow the tutorial at http://dotnetslackers.com/articles/csharp/IntroducingLINQ2.aspx. However the link to download March CTP Visual Studio Orcas does not work and I don't understand...

View Article

Oracle REF Cursors and OracleDataAdapter - data not populating

Hello All, I have a simple stored procedure that returns a REF CURSOR. The query retrieves 190 rows from the database (see query below). Following the example laid out in the web page...

View Article

Help! DataSet.Merge causing duplicates

Hello; I've got a problem where DataSet.Merge is causing duplicate records, and then throwing a constraint failure exception because of duplicate primary keys. I've seen a similary problem discussed...

View Article


New Job Req : .Net Solution Architect– Woodbridge, NJ – Full Time Position -...

Hi, Good day. We are looking for .Net Solution Architect– Woodbridge, NJ – Full Time Position Only US Citizen and Green Card holders Project Details: This requirement is not specific for a project,...

View Article

Enumerating SqlDataReader column name

Hi, How can I have column names of a SqlDataReader ? Thanks, Ali

View Article

DataSet transfer data from one database to another

I am attempting to select data from Database A into Database B (both Access Databases) by placing the selected data into a Dataset and then inserting it into the 2nd DB. I can select the data, fill the...

View Article


DataReader Limits data returned!

I have a stored procedure that returns xml data (using For XML), it returns about 9000 records. I use a datareader to write the data to a XML file. For some reason, the datareader doesn't write all...

View Article


SQLDataAdapter.Fill fails after call to SQLDataAdapter.FillSchema

Hullo: I pass a new datatable to SQLDataAdapter.FillSchema, specifying that it use SchemaType.Mapped. The particular select command, hits a table that has only one integer field, the first, which is an...

View Article

ExecuteOracleScalar error??

Hi: When I run this project,I miss a error: it's say: convert is falied! I don't konw why. Please advice. Thanks!!! This is my codes:...

View Article

ConnectionString without DSN not working

HELLO! I have been using MYSqlConnection .NET strings in my web,config and my application is working fin. However due to requirements, I am forced to change the connection string to not use DSN and I...

View Article

Error while connecting remote SQL server

hi all, I trying to connect remote sql server from my machine. but it giving me some errors Here are few errors listed, An error has occurred while establishing a connection to the server. When...

View Article


Mobile Application Design & Development in New York

application design, development and strategy. Mobile Application Design andDevelopment Company, Web Design Company New York. doodleblue is known for its design heavy outlook on building scalable...

View Article

DTS WIZARD alternatives?

I need a freeware software to convert from Excel file to the popular db formats (SQL server is the most important to me at the moment). Visual studio and it's sql server, came with a tool named...

View Article


import large text file

hi there, i have a huge large text file (350.000 lines) that i want to import to a MS Acccess Database, of course i don't want to use Access, but do it with C#. i already have tried the AddRow method...

View Article

DataRowView Cannot Set 'Column' exception

I'm using a DataRowView that I create via a BindingContext from a DataGrid. The problem is that sometimes I get an exception that says Cannot Set 'column name'. I'm wondering if anyone is familiar with...

View Article


Unable to debug SQL from within the .NET IDE

Hi All When I try to step into a stored procedure in the Northwind database, in MSDE installed locally, using the .NET IDE, I get the error message: "cannot debug stored procedures because the SQL...

View Article

DataColumn.Expression IsNull

Need to return a calculated column in a dataset that indicates whether another column contains a dbnull value. Note this data does not come from any sort of datasource in which I could perform such a...

View Article

DataTable.ImportRow bug (no exception)

the following code demonstrates that DataTable.ImportRow will silently fail if the row beign imported is detatched. As this has caused me a small amount of pain I thought I'd mention it. I my view if...

View Article

Moving entities between contexts in EF 3.5

I've got a scenario in which I want to move a bunch of object graphs between contexts. Specifically, I'm trying to import the contents of one database into another. The there is a context...

View Article


Oracle character conversion (of non ASCII values?) with DataAdapter

Hi all, I get strange character conversions when fetching CLOB fields in Oracle 8i. When looking at the data in the database with TOAD the characters seem to be correctly stored. The character ''' when...

View Article

Browsing latest articles
Browse All 103 View Live




Latest Images