0
votes
1answer
88 views

Sql query with more WHERE parameters in ASP.NET, is it possible?

So here's my code: <asp:SqlDataSource ID="UsersSearchResult" runat="server" ConnectionString="<%$ ConnectionStrings:UserQueries %>" ProviderName="<%$ ConnectionStrings:UserQueries....
0
votes
0answers
85 views

Can I use the result of an sqldatasource (a simple string) to use it as a parameter of another sqldatasource?

<asp:SqlDataSource ID="UsersUsernameSQL" runat="server" ConnectionString="<%$ ConnectionStrings:UserQueries %>" ProviderName="<%$ ConnectionStrings:UserQueries.ProviderName %&...
0
votes
1answer
62 views

Populate DDL with Customer Phone Number

I have been assigned to create a Contacts page using ASP.NET. I have a GridView that displays all Contacts with a DropDownList ItemTemplate in the 'Phone Number(s)' column. A Customer can have ...
0
votes
0answers
326 views

How I built a SQL Database connectionstring right?

I have a problem with a connectionstring in a html file ... is this connectionstring form false? objConnection.Open "Provider=SQLOLEDB;Data Source=x.x.x.x\WINCCFLEXEXPRESS;UID=test;PWD=test;Database=...
0
votes
1answer
5k views

ASP.NET login validation with database

I have login in my asp page req name/pass and button. I create the connecttion string to my database and SqlDataSource with the query well here in the SqlDataSource: <asp:SqlDataSource ID="...
0
votes
1answer
1k views

ASP.NET DropDownList + SQL Query not showing anything

I have 5 dropdown lists and am trying to make it so if I choose a certain value on a certain dropdown list, it won't show that specific item on the following dropdown lists. I am doing this through a ...
1
vote
0answers
1k views

java connection pool autocommit

I'm using for the first time the connection pool in java. The application that I'm writing is a web application deployed on oracle glassfish 3.1 and the resource connection pool is handled by it. I ...
0
votes
1answer
1k views

How can I get sql server database name from DatabaseMetaData object

I am wondering how can I get the database instance name from DatabaseMetaData, or is there any way I can do that, kind of stuck here, thanks for any pointers! How to get sqlserver database name from ...
0
votes
3answers
7k views

How to get sqlserver database name from datasource name in Java

As specified in the title, I want to get the database name in sqlserver, all info I know is datasource name, login name/password to get the Connection object, please show some pointers on how to ...
1
vote
1answer
237 views

Adding just Unique Data to Gridview

I have a table like this. Columns --> (MUSTERI, AVUKAT, HESAP (Unique)) My page design like this. Simply, first dropdown is MUSTERI, second dropdown is AVUKAT, when i click EKLE (it means ADD) ...