Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
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
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
all groups > dotnet ado.net > july 2004 > threads for monday july 26

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

Sql Command Paramaters
Posted by SubstandardSnowman at 7/26/2004 8:35:20 PM
I'm building a dynamic command like this. "SELECT * FROM Clients WHERE FirstName LIKE @FirstName" and I set the paramater like this. sqlCMD.Paramaters.Add("@FirstName", "%" & fnameVariable & "%") The reason I'm doing this is I need it to search the whole field to see if it contains any of ...more >>


how to use default value in sqlCommand
Posted by tonyqus at 7/26/2004 2:41:09 PM
In Sql Server, I can use syntax to insert a record with default value: insert table1(a,b,c)values('A','B',default) But in .Net, if I want to use default value in Adapter.InsertCommand,for example, SqlAdapObj.InsertCommand.Parameters.Add(New SqlClient.SqlParameter("@testField")) SqlAdapObj....more >>

BLOB,and storing duplicate documents to create document version system
Posted by vikas NO[at]SPAM thenextround.com at 7/26/2004 1:21:50 PM
I am trying to create a document version management system using ADO.net and SQL server. I am storing the document in an Image field in the database. I could sucessfully implement check in , check out, undo check out functions but i am having one problem. When i check out a document , make some...more >>

Update in DataGrid
Posted by Mariame at 7/26/2004 11:21:49 AM
Hi everyone, how could i update in datagrid & then update in the database??? Thx & Regards begin 666 smiley_doh.gif M1TE&.#EA$ `0`.8``/GRZ_;NY/GMWN[N[OGKV?GHT_CFS_CDR>3DY-[FWOGA MPOG?OOG;M?G7K?G4I=C8V.+2OO_,F?/0H_C+D?+,F_C*C]_1OOC)C?C&A<S, MS/''D_#"A?2_?/F^<_:Y:[#,T/&]>=>^GO>U:_FW8OFT6Z[...more >>

generic ADO.NET classes?
Posted by Sankar Nemani at 7/26/2004 10:04:36 AM
Is there any discussion on the availability of generic classes for ADO.NET classes to create strongly typed versions? We were able to create typed datasets easily but it was not easy to create a typed datatable "that could give a typed DataView" since DataView is what is mostly used for databind...more >>

Getting data in class hierarchy (C#)
Posted by MattC at 7/26/2004 9:47:38 AM
I have a class hierarchy that is, for simplicity sake, two levels deep. User -> MoreSpecificUser In most cases it will only be necessary for me to retrieve information for one or the other. I figure if I dont need all the data that the parrent has to offer why get it. So here was my solu...more >>

How to use SQLBinary?
Posted by Roy Chastain at 7/26/2004 8:41:32 AM
I have a varbinary field in my table. (It has the potential of being rather large.) I need to read this value, change it and write it back. I have gotten as far as using the GetSQLBinary method of the SqlDataReader. What I don't know is what do I actually have at that point. I would assume...more >>



DevelopmentNow Blog