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

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 Article


Arithmetic 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 Article


MVC 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 Article

Custom 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 Article

About 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 Article


Display 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 Article

sql 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 Article

Get 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 Article


How 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 Article


How 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 Article

how 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 Article

Why 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 Article

SqlDataSource 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 Article


Sql 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 Article

How 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 Article


How 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 Article


Developing 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 Article

Pass 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 Article

Single 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
Browsing all 956 articles
Browse latest View live


Latest Images

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