Advance SQL Generation Option (Sqldatasource)
Helloi am use sqldatasource in asp.net page and need to use Advance SQL Generation Option for update,delete,edit table date but Advance SQL Generation Option is Disable by default.......how to enable...
View ArticleArithmetic overflow error converting expression to data type int.
I am working with an ASP.net 4.0 page with SQL Server 2005. I am writing a query that gets data about paramedics and how much time they spend in certain status such as "on scene", "at hospital", etc. I...
View ArticleMVC Music Store Tutorial issue - RegisterGlobalFilters & RegisterRoutes do...
Hi I am follow the Music Store Tutorial and have got a little stuck I am using Visual Studio 2013 and got as far as part 4.I come across these errors: Error 1 The name 'RegisterGlobalFilters' does not...
View ArticleCustom Paging in Gridview on .net 3.5 frame work.
Hi guys,I need apply custom paging on a gridview by passing page index and page size. I have a dataset contain all records which are populating from multiple table by using a join query. and based on...
View ArticleAbout Typed Dataset XSD file
Hello...I have a legacy application with Typed Dataset. Is possible to convert XSD file in vb.net code ?And then delete XSD file ?Thanks
View ArticleDisplay Sum of column in TextBox
Hi guysCould anyone please help me out, I am trying to display the sum of a column in an sql table in a Text Box, I am really stuck on this and appreciate any help pleaseSo I have 20 columns and I want...
View Articlesql server opendatasource not connected after server changed?
hi. We used to fetch data from one server (SQL Server 2008). Now, we have changed to New Server. After changing to new server, we are unable to fetch or connect with sql server. No Error or Warning...
View ArticleGet Column name for an Insert Query from The Selected GridView Row
Hi Guys, I am trying to insert data in an SQL table by executing an Insert Query. The problem is that I need to get the column name from a cell in the selected gridview Row.Here's the...
View ArticleHow to add parameter to the name of the sql table when copying it
Hello,I want to copy the existing sql table into new one using the number of the version. I have this code, but it doesn't add the number as a parameter which was entered by the code. It adds only @i...
View ArticleHow to sql html code in sql database?
Hi,I've created a texbox in asp.net and used tiny_mce java changed it to richtextBox and now I want to save it to sql database and retrieve this saved information to asp pagehow to save it and retrieve...
View Articlehow to retrieve html code save in sql?
Hi, I create Rich text Box by using Tiny_MCE I saved info inside sql by linq and now I want to retrieve saved info in That Rich Text Boxhow to do that?Plz help me Thanks.
View ArticleWhy Can't I use both filterExpression and @Parameter at same time?
Greetings Experts,I have this:<asp:TemplateField HeaderText=""><ItemTemplate><asp:TextBox ID="trainingId" runat="server" Text='<%# Bind("trainingId") %>' style="display:none"...
View ArticleSqlDataSource very slow
Hi all. I'm using a SqlDataSource component on a ASP.NET page. If I execute a sql query directly on database, results are available in 1 second or less.But same query, executed with SqlDataSource in...
View ArticleSql Pivot Transform
Hi I need a help on how to go about thisI am using two tables DailyCalibration and TankThis my query here SELECT...
View ArticleHow to Show data from 10 tables in a single grid view according to date time...
I Have 10 tables in total and containing same column in each table, Now i want to show the data from all the 10 tables at once in a single grid view according to date time descending sort. And I want...
View ArticleHow to retrieve images save in sql and Display In Gridview with linq?
Hi,I want to retreive image from sql database without using httpContext Class,
View Article@ReturnValue in Legacy Command Object Code
I am troubleshooting some code written in Asp.net 1.1. Below is the code behind a web form:Me.cmdSetLastProject = New System.Data.SqlClient.SqlCommand ... Me.cmdSetLastProject.CommandText =...
View ArticleDeveloping a database-driven application in C#
Hi,Ok, I'm fairly new to ASP.NET programming. I am also fairly new to these forums, so please re-direct me if I've posted this in the wrong place!I am trying to write a web-based application in C#. I...
View ArticlePass a Parameter to a Stored Procedure using ObjectDataSource
Hi,I am doing a simple project on Visual Studio 2013 about a book library. I have a database from which I will get the information for the GridView 's.The purpose of this page is to display the list of...
View ArticleSingle SP or Several SP's?
Hi,Is it more efficient to have one long sp containing several if statements or several smaller ones?Thanks
View Article