Quantcast
Channel: DataSource Controls - SqlDataSource, ObjectDataSource, etc.
Browsing all 956 articles
Browse latest View live

Error when viewing published listview/SqlDataSource but works perfectly in...

Hello,I been breaking my head all day so hopefully someone can assist (I've tried looking for a solution online but to no avail) I simply created a basic DB in Visual Studio 2010 but I'm unable to view...

View Article


Required minimum 5 GB MSSQL server

Hi Team,We are planning to create a web site with Asp.Net MVC or AngularJS SPA with MSSQL Server. We required minimum 5GB SQL database size supportable plan. We are ok with plan "ASP.NET Core Reseller...

View Article


SQL Data Source is showing affected rows but nothing is showing up in database

Hello,I have a web form in Visual Studio 2012 where i have this SQL Data Source:    <asp:SqlDataSource ID="AssetSqlDataSource" runat="server" ConnectionString="<%$...

View Article

SQL to exclude certain rows of data

I have this SQL Query:SELECT DISTINCT VIEWID, RELID, SUM(KAIPRDDTA.F0315LE.RTAAP*.01) AS OPEN, SUM(KAIPRDDTA.F0315LE.RTCURR*.01) AS CURRENT1, SUM(KAIPRDDTA.F0315LE.RTFTR*.01) AS FUTURE,...

View Article

How to pass a null to SelectParameters in SqlDataSource?

How to pass a null to SelectParameters in SqlDataSource?The type of "CreateDate" is DateTime, the following code can be run...

View Article


Exploit SQL Injection

Hi All,Exploit SQL injection thru login screen by passing the below input parameter to password textbox.        test'; SELECT * FROM Products; --It triggers an SP with the parameters passed. But, the...

View Article

How to update Formview.SelectCommand programmatically

I’m trying to convert an old MS Access multi-tabbed form with a SQL Server backend to ASP.NET / C#. In place of the 8 tabs I’ve created 8 webpages and a master page that contains the navigation bar....

View Article

How to convert oracle database to sql server studio 2014

Hi Good day to all, I am using mvc 5 , i just wanna call my database  connection sql server 2014 in the web.config,  how ca i achieved this ?,how to convert this code oracle to sql server database,...

View Article


SSIS - (It must consist of one or more components of the form X=Y, separated...

Hi,I've a SQL job, no problem since day one, suddenly prompt error last week. Failed to write the data into excel file.Error: It must consist of one or more components of the form X=Y, separated by...

View Article


Return a list of product objects that have a product ID that exists as a...

Hi, I have been working on a query to return an IEnumerable list of Booking Request objects that have a product ID attribute value that exists in the 'MyProducts' list as the ID for the objects using...

View Article

Whats better - Pass DataTable of JSON from the application to Stored Procedure?

What is the best way to pass C# list of objects to stored procedure? JSON or DataTable (SQL Table Type)?I have list of Guids that i need to pass to the stored procedure. one option in to serialize the...

View Article

System.OverflowException: Arithmetic operation resulted in an overflow

.This is happening in a window application c# version 4 datatype is intbig Please adviseSystem.OverflowException: Arithmetic operation resulted in an overflow   at...

View Article

Html slider update sqldatasource

I have a sqldatasource able to update the database in App_data folderIs it possible for a Html slider to update sqldatasource to change database ? Any sample code ?Thanks

View Article


translate to linq select within a select

Hi How can I translate this to linq or lambda//string[] skus = {"032680","032681"}; Select   * from Products where CustRef in ('032680','032681')and companyId=83 and IDP=1 and CustRef  not in  (...

View Article

Need help in formating a gridview based on a sql request

I got two gridviews, but I want my application to create many gridviews depending on the products name. I use two different tables from my database.it's currently showing All products list 1All...

View Article


Search Objects passed on there defintion - VS2005

Hello, woudl like to create a generic function which allows me to specify the properties of a set of objects in a list, which allows me to search any property (id declared as searchable)Dim L As...

View Article

Share SQL connection for all Subs

is it ok to put it on top of code page and share the sql connection for all subs?Shared SQLCS As SqlConnection = New...

View Article


Detect Http Synchronous and Asynchronous

Hi all,Need help, how to detect the http get request is form from Synchronous or Asynchronous..?Thanks.  

View Article

SQLDATASOURCE Insert not working

I have the following SqlDataSource that has an insert statement that is not working correctly<asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$...

View Article

Schema error creating GridView

I am using VS2010 and am getting the error below when I try to configure the connection string for the DataSourceControl.  The GridView works fine if I manually create the DataSourceControl. How do I...

View Article
Browsing all 956 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>