473,791 Members | 2,949 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

anyone trying out the beta? I have a few questions

I'm using the new SqlDataSource successfully. Just for reference, here's my
code:

asp:SqlDataSour ce ID="ds" Runat="server" SelectCommand=" SELECT
employee_ssno, firstname, lastname FROM employee_temp order by lastname"
ConnectionStrin g="<%$ ConnectionStrin gs:AppConnectio nString1 %>"
ProviderName="S ystem.Data.OleD b" UpdateCommand=" UPDATE DBOWEB.EMPLOYEE _TEMP
SET firstname=?, lastname=? WHERE employee_ssno=? "> </asp:SqlDataSour ce>

Q1: That 1 updatecommand above takes care of the select, the update, the
delete... everything it seems. Anyhow, I can't figure out how to specify
that the firstname & lastname fields above be lowercase. Its not like its a
regular Oracle query where i can use the Lower function in the select
statement. This is a parameterized query using OLEDB. Any ideas how to
get a field to display lower case?

Q2: dumb question. I'd like web services to handle a lot of the querying,
that way they can be used across multiple applications etc. I assume that
you can NOT use sqlDataSource in a web service? We've tried it, but can't
get it to work. In asp.net 1.0 we have a web service return a dataset and
have a datagrid use that dataset as its source. In asp.net 2.0, whats the
way to go in regards to passing a result set back from a web service, and
having the gridview consume it? I'm not sure what to do.

Q3: the dumbest question. Is the .net 2.0 framework available so I can put
it on our test deployment server? I mean, I'm ready to go live with an
application and I'm not sure where to get the framework to put on the
windows2003 server. Right now it only has 1.1, which comes w/ 2003.

TY! Jason Shohet

Nov 16 '05 #1
4 1436
Jason,

Why not? Why can't you do this:

<asp:SqlDataSou rce ID="ds" Runat="server" SelectCommand=" SELECT
employee_ssno, lower(firstname ) as firstname, lower(lastname) as
lastname
FROM employee_temp order by lastname"
ConnectionStrin g="<%$ ConnectionStrin gs:AppConnectio nString1 %>"
ProviderName="S ystem.Data.OleD b" UpdateCommand=" UPDATE
DBOWEB.EMPLOYEE _TEMP
SET firstname=lower (?), lastname=lower( ?) WHERE employee_ssno=? ">
</asp:SqlDataSour ce>

If the back end is SQL server (or a language that supports it), then it
should be just fine. You might have to specify an insert and a delete
statement as well so the SqlDataSource doesn't guess at what those commands
should be (and would probably be thrown off because of the call to lower as
well). The provider for OLEDB is just going to do substitution, not change
the syntax of your query.

As for #2, you can do it using the SqlDataSource. Just create a new
instance, and set the appropriate properties. You might find it easier to
just use the classes in the System.Data namespace though. The reason for
the SqlDataSource in .NET is so that you can declare your data source in the
markup for ASP.NET.

.NET 2.0 is in beta right now, so you are assuming a degree of risk in
placing it into production on an application server. You have to decide if
it works for you. If you have a MSDN universal subscription, then you
should have access to the betas, otherwise, I'm not sure how you can get a
hold of them.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m
"Jason Shohet" <__******@yahoo .com> wrote in message
news:%2******** ********@TK2MSF TNGP12.phx.gbl. ..
I'm using the new SqlDataSource successfully. Just for reference, here's
my code:

asp:SqlDataSour ce ID="ds" Runat="server" SelectCommand=" SELECT
employee_ssno, firstname, lastname FROM employee_temp order by lastname"
ConnectionStrin g="<%$ ConnectionStrin gs:AppConnectio nString1 %>"
ProviderName="S ystem.Data.OleD b" UpdateCommand=" UPDATE
DBOWEB.EMPLOYEE _TEMP SET firstname=?, lastname=? WHERE employee_ssno=? ">
</asp:SqlDataSour ce>

Q1: That 1 updatecommand above takes care of the select, the update, the
delete... everything it seems. Anyhow, I can't figure out how to specify
that the firstname & lastname fields above be lowercase. Its not like its
a regular Oracle query where i can use the Lower function in the select
statement. This is a parameterized query using OLEDB. Any ideas how to
get a field to display lower case?

Q2: dumb question. I'd like web services to handle a lot of the
querying, that way they can be used across multiple applications etc. I
assume that you can NOT use sqlDataSource in a web service? We've tried
it, but can't get it to work. In asp.net 1.0 we have a web service return
a dataset and have a datagrid use that dataset as its source. In asp.net
2.0, whats the way to go in regards to passing a result set back from a
web service, and having the gridview consume it? I'm not sure what to do.

Q3: the dumbest question. Is the .net 2.0 framework available so I can
put it on our test deployment server? I mean, I'm ready to go live with
an application and I'm not sure where to get the framework to put on the
windows2003 server. Right now it only has 1.1, which comes w/ 2003.

TY! Jason Shohet

Nov 16 '05 #2
Please use microsoft.priva te.whidbey newsgroups you to post v2.0 Beta
questions.
Your question relates to both - microsoft.priva te.whidbey.aspn et.general and
microsoft.priva te.whidbey.adod otnet.

Willy.
"Jason Shohet" <__******@yahoo .com> wrote in message
news:%2******** ********@TK2MSF TNGP12.phx.gbl. ..
I'm using the new SqlDataSource successfully. Just for reference, here's
my code:

asp:SqlDataSour ce ID="ds" Runat="server" SelectCommand=" SELECT
employee_ssno, firstname, lastname FROM employee_temp order by lastname"
ConnectionStrin g="<%$ ConnectionStrin gs:AppConnectio nString1 %>"
ProviderName="S ystem.Data.OleD b" UpdateCommand=" UPDATE
DBOWEB.EMPLOYEE _TEMP SET firstname=?, lastname=? WHERE employee_ssno=? ">
</asp:SqlDataSour ce>

Q1: That 1 updatecommand above takes care of the select, the update, the
delete... everything it seems. Anyhow, I can't figure out how to specify
that the firstname & lastname fields above be lowercase. Its not like its
a regular Oracle query where i can use the Lower function in the select
statement. This is a parameterized query using OLEDB. Any ideas how to
get a field to display lower case?

Q2: dumb question. I'd like web services to handle a lot of the
querying, that way they can be used across multiple applications etc. I
assume that you can NOT use sqlDataSource in a web service? We've tried
it, but can't get it to work. In asp.net 1.0 we have a web service return
a dataset and have a datagrid use that dataset as its source. In asp.net
2.0, whats the way to go in regards to passing a result set back from a
web service, and having the gridview consume it? I'm not sure what to do.

Q3: the dumbest question. Is the .net 2.0 framework available so I can
put it on our test deployment server? I mean, I'm ready to go live with
an application and I'm not sure where to get the framework to put on the
windows2003 server. Right now it only has 1.1, which comes w/ 2003.

TY! Jason Shohet

Nov 16 '05 #3
Willy maybe you could help me access that ng. I tried to add a server
called 'microsoft.priv ate.whidbey' but no such server exists.... Right now
the server I'm accessing is msnews.microsof t.com

TY
Nov 16 '05 #4
Check this:
http://communities.microsoft.com/new...y&amp;slcid=us

here you will find all info needed to access the whidbey NG's.

Willy.
"Jason Shohet" <__******@yahoo .com> wrote in message
news:eL******** ******@TK2MSFTN GP14.phx.gbl...
Willy maybe you could help me access that ng. I tried to add a server
called 'microsoft.priv ate.whidbey' but no such server exists.... Right
now the server I'm accessing is msnews.microsof t.com

TY

Nov 16 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1294
by: Corrie Meyer | last post by:
Announcement: SwiftReports standard edition beta 1 for Visual Studio ..NET 2003 released by UniSwift. We are pleased to announce the beta release of a fully-managed reporting tool for the Microsoft .NET framework. SwiftReports provides complete code integration with the Visual Studio .NET 2003 environment. Developers can use Visual Studio .NET 2003 to write code in either C# or Visual Basic .NET for report control and event handling.
0
1547
by: dhoward99 | last post by:
We are holding a beta program for Corel Smart Graphics Studio 2.0 - a development platform for generating XSLT, XML, and SVG to create rich, data-driven graphics bound to enterprise systems (such as Technical Graphics, HMI/SCADA, GIS, Data Visualization). We feel that this application is particularly well suited to this newsgroup community and so are extending a general invitation to the Beta program. - For content specialists –...
48
3734
by: ik | last post by:
ERROR after uninstalling SQL Server 2005 Express I get this message, SQLDMO has not been registered. Please re-run your setupand contact your system administrator. GREAT!!! ReInstalled SQL SERVER 2000 after playing around with SQL Server 2005...
11
1908
by: JDeats | last post by:
1. Will there be different 64-bit .NET implementations for Intel and AMD 64-bit processors or will they share a common 64-bit CLR? 2. Will .NET managed code compiled for the 32-bit CLR be binary compatible with the 64-bit CLR or will a recompile with code changes be required? 3. Will 64-bit CLR processes be able to address process space above the 2-Gig memory limit imposed by the 32-bit architecture? 4. Will there be a significant...
1
1688
by: Eric Sassaman [MS] | last post by:
Online Chat: Visual C++ 2005 Beta Join the Visual C++ team to discuss your questions and comments on the Beta release of Visual C++ 2005. Whether you are a first-time user of the Visual C++ Express Edition Beta (http://lab.msdn.microsoft.com/express/visualc) or an experienced developer exploring the full Visual Studio 2005 suite, we want to answer your questions to provide you with a smooth development experience. So please bring your...
10
1200
by: Flare | last post by:
Hi We are starting our implementation of a medium scale web application. The delivery is set to last february so it is "close" the release of Net 2.0. Would it be both legal and wise to develope this web app in 2.0 beta and use final when the product going "in production". 1. Is it legal to use VS. 2005 stud. to develope commercial applications? 2. Is there a "beta2" before final? 3. Is the current beta ready for nonproduction but...
5
1617
by: Arjen | last post by:
Hi, The login control (<asp:Login) generates a HTML table. I have used my own template without table's. The control generates <table> ... my design(template) ... </table>. I don't like the table... how can I delete this? Thanks!
8
2063
by: Terry Olsen | last post by:
I'm trying to use the RS232 class that was in the Platform SDK (i think). Has anyone else used this with events successfully? Here's what i've got: ====================== Public WithEvents bbsPort As Rs232 = New Rs232 With bbsPort .BaudRate = baud .DataBit = dataBits .Parity = parity .Port = comPort
1
1132
by: trdonavan | last post by:
I was working on a VB Add-In in VS 2005 Beta 1 and after installing Beta 2 the Add-In disappeared from the IDE that is invoked to debug the Add-In. In other words, in Beta 1 when I started debugging the Add-In an instance of the IDE would open up that would load the Add-In. However, in Beta 2 the Add-In is not loaded when the instance of the IDE is invoked. Any idea how to get the Add-In to load for debugging? TIA!
0
9515
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10426
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10154
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9029
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7537
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5430
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5558
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4109
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2913
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.