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 ArticleRequired 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 ArticleSQL 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 ArticleSQL 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 ArticleHow 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 ArticleExploit 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 ArticleHow 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 ArticleHow 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 ArticleSSIS - (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 ArticleReturn 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 ArticleWhats 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 ArticleSystem.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 ArticleHtml 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 Articletranslate 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 ArticleNeed 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 ArticleSearch 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 ArticleShare 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 ArticleDetect Http Synchronous and Asynchronous
Hi all,Need help, how to detect the http get request is form from Synchronous or Asynchronous..?Thanks.
View ArticleSQLDATASOURCE 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 ArticleSchema 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