Browse by Tags

Related Posts

  • Check repetitive record to insert

    Hello I've a question: My table in sql server (v. 2000) has a field that it contains a special value. I wanna, when to inserting new record, the special field of latest record value gets from table and do actions for new record. Can I user sql syntaxes to get the latest field value and to actions...
    Posted to SQL Server, SQL Server Express, and SqlDataSource Control (Forum) by mahmood_MA_M on 04-22-2009, 12:00 AM
    Filed under: SQL, UPDATE, insert
  • How to populate a table from a CSV File

    Using SQL Server 2005 Standard, Visual Studio 2008 Profession, ASP.NET 3.5, C#, ASP.NET AJAX. System Configuration: Web Server is a Virtual Server, Database Resides on a different server, also a Virtual Server (VMWare). I need users to be able to upload a file from their LOCAL machine. This file will...
    Posted to SQL Server, SQL Server Express, and SqlDataSource Control (Forum) by bfancett on 12-30-2008, 12:00 AM
    Filed under: ObjectleDbDataReader, odbc, oldedb, sql, SQL 2005, SQL Data Adapter, SQL Datasets, sql server 2005, sql server 2005 stored procedure, SQL Server Stored Procedures, sql serverver reports, SQL TransactSQL Randomize Function, SqlDataAdapter, sqldatasource, SqlParameter, sqlreader, SQL-Server, stored procedure, stored Procedures, stringbuilder, Strongly Typed Datasets, strored procedures, table, table adapter, tables, Thanks, Thanks in Advace, Thanx, to a sql server database and how to retrive them, UPDATE, updating, Urgent Help needed, .NET 3.5, 2 column text field, add data, adding data, ADO.NET, ADO.NET 2.0, advanced, as.net 3.5, asp, 'ASP', asp .net 2.0, asp .net code, ASP .net.NET, ASP .net.NET Grid View, asp sql query customize datalist, ASP>NET, ASP.NET, asp.net c# sqlserver 2005 dataadapter querystring date comparison, asp.net 2.0 c#, asp.net 2.0 with c#, ASP.Net 3.5, c#, 'C#', C# 2005, c# code, c#.net, data, data access, data access layer, data entry, Data list, data mapping layer, data presentation, data repeater control, Data Set, data source, data tables, Dataa access, Excel to Sql-Server C# ASP.Net 2.0, fields, file upload, fileupload, insert, insert command, insert database sql, Insert new records, insert parameter value, insertion, InsertMode, LINQ Dynamic Data, LINQ SQL-to-LINQ DataGrid DetailsView, linq textbox query, LinqDataSource Linq, linq, ASP.NET3.5, ASP .net.net2, asp .net.net2.0, asp .net2.0, vs2008, SP, ASP .net ... c#, ASP .net ... c# ., asp .net ... c# ... SQL javascrpt, ASP .net ... c# 3.5, upload file, ASPNET SQL Server, excel C#, Sql Server, sqll, VS 2008, adding table data, ado.net designer dataset datatable datatableadapter designview gridview webforms bug, asp.net 2.0, C#. NET 2005, C#3.0, Data table, document, insert select, insert values, ASP .net ... c# ... javascript
  • Select then insert..

    Hi, I am really confused about how to do this: I have two tables (users and bookmarks). They both have a UserID column which is a unique identifier. I want to insert some data into bookmarks along with the UserID. I obtain the userID by doing something like SELECT UserID FROM users WHERE OpenIdUrl =...
    Posted to SQL Server, SQL Server Express, and SqlDataSource Control (Forum) by briggins5 on 12-24-2008, 12:00 AM
    Filed under: SQL, Inner join, insert, SELECT
  • Catch a "cannot insert duplicate value" error

    Hi, I have a unique index in my database (as well as my primary key with ID). This prevents the user uploading files with duplicate names. However, I cannot work out a way to catch the error and present it in a user friendly way (ideally by displaying a small message 'this file already exists'...
    Posted to SQL Server, SQL Server Express, and SqlDataSource Control (Forum) by magicjoef on 09-30-2008, 12:00 AM
    Filed under: SQL, Data, Duplicate, insert
  • Preventing the same value being inserted into a database column twice

    Hi, I have created a form that inserts data into my mssql database. I would like to prevent one of the columns having duplicated date. Is there a way to check a column for a value and prevent the insert happening if the value already exists? I would need to prevent the whole row being added to maintain...
    Posted to Getting Started (Forum) by magicjoef on 09-25-2008, 12:00 AM
    Filed under: data, duplicate, insert, SQL
  • Can't find the error!!!???

    Anyone, I am just trying to do a simple insert, but can't figure out what the cause of my unhandled exception is. I am just trying to do a simple insert into a backend sql table. I'm using VB and sql '05. My codebehind calls this method in my Business Layer: Public Sub Insert( ByVal createdBy...
    Posted to SQL Server, SQL Server Express, and SqlDataSource Control (Forum) by bcoffey on 09-12-2008, 12:00 AM
    Filed under: sql, sql insert query, Sql Parameters, Sql server 2000, sql server2005 ADO.NET, sql update management studio, 2.0, 3 tier applications, ASP VB Data, asp.net 2.0, Asp.Net 2.0, bll business layer objects, BLL DAL Tier Separation, BLL Data 3 tiers business logic DAL ObjectDataSource sql connection, DAL, Data, data Acces, Insert, Insert data, asp.net2.0, sql data control, ASP.NET 2.0 search multiple keyword term sql server express 2005, BLL, Data Access and ObjectDataSource Control, .net 2.0, DAL Provider Interfaces
  • Re: Between sql2005 db, tableAdapters, BLL and Codehinds, How do display data related error messages?

    This is the code for the method in question: 1 [System.ComponentModel.DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType.Select, false )] 2 public MarketingContacts.OwnershipDataTable GetOwnershipByContactIdAndStaffDivId( int ContactId, int StaffDivId) 3 { 4 return GetOwnershipByContactIdAndStaffDivId...
    Posted to Data Access and ObjectDataSource Control (Forum) by akuyali on 04-18-2008, 12:00 AM
    Filed under: ObjectDataSource DataSet Multitable, sql, SQL ASP OBJECTDATASOURCE, strongly typed datatable, ADO.NET data access, BLL, BLL DAL Tier Separation, C#, DataAdapter, DataAdapter Update, DataSource, DataTable, Insert, insert datatable
  • Re: trouble with insert query - date fields

    Hi Jen, First, what is up with that single quote mark after @N? Did you want that to be enclosed in quotes because it's a string, or not? Also, when inserting dates into Access DBs you have to be careful with the formatting (yyyy-mm-dd vs dd-mm-yyyy) and ensure they are surronded with hash/number...
    Posted to Access Databases and AccessDataSource Control (Forum) by djh on 03-10-2008, 12:00 AM
    Filed under: SQL, insert, access database, date
  • Urgent Help needed: How to INSERT into a field having "UniqueIdentifier" data type

    I am new at ASP.net and I am having problems inserting data using C# in ASP.net I have created a table named "Profile" in the MS sql server database named "MyDataBase". There is a field named "ID" that has data type 'uniqueidentifier'. I am confused how to INSERT...
    Posted to SQL Server, SQL Server Express, and SqlDataSource Control (Forum) by jadoon88 on 01-08-2008, 12:00 AM
    Filed under: sql, ASP.NET, C# 2005, data access, data entry, insert, uniqueidentifier, records, Urgent
  • Data insertion failure. Help much appreciated.

    Hi everybody. I'm having difficulties with a button handler I put together from a few examples around the internet. Here's my code: <script runat="server"> Sub Add_To_Cart(ByVal Src As Object, ByVal Args As EventArgs) Dim FVArtikel_id As Label = FormViewDisplay.FindControl("Artikel_idLabel"...
    Posted to SQL Server, SQL Server Express, and SqlDataSource Control (Forum) by Hao1981 on 01-03-2008, 12:00 AM
    Filed under: session, SQL, .NET 2.0, asp.net 2.0, Database, insert, insert multiple row values, ASP.NET, ASP.net vb
Page 1 of 2 (14 items) 1 2 Next >