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

Read XML Element Attribute from Datatable

I have method where datatable is loaded with XML from database (only one value i.e XML is returned) Now I want to read XML Attribute from datatable (without converting to XMLDocument or XDocument) and...

View Article


how to retrieve information from deleted row

How can I retrie infromation from delete rows. I delete some rows from table in dataset, then I use method GetChanges(DataRowState.Deleted) to get deleted rows. I try delete rows in original table on...

View Article


Linqdatasource error

Hello all,I'm attempting to configure a new Datasource for a Gridview in VWD201 and I keep receiving the following error:"Error invoking 'Configure Data Source'......Details: Exception has been thrown...

View Article

Sql db parser error

I keep getting the folloowing error:  I am taking it from my textbook assignmentServer Error in '/' Application.Parser ErrorDescription: An error occurred during the parsing of a resource required to...

View Article

Problem converting string to Date in SqlDatasource control parameter

HiI have a sqldatasource with WHERE clause as VisitDate=@VisitDate. the date comes from a label - lblVistDate, which gets its value from a multicolumn combobox.the SelectParameters are as...

View Article


ObjectDataSource and database hits

Hi, these may be a silly questions but I'm fairly new to asp.net.Questions are: does the ODS hit the database everytime time the page loads if you didn't specify any caching?  Or is the result of the...

View Article

RE: How do I count the number of rows in a table with different condition?

I can get the count of rows with a condition by using a select statement. How do I get the count of rows with other conditions? When the page loads, I want the counts of each Job category. Is there a...

View Article

Populate DropDown list with Database Tables

Hello,I want to populate a DropDown list with some Tables inside an SQL Server Database.Further more the table names are SYS_GEO_GR, SYS_GEO_UK, SYS_GEO_US  etc and i want to display them on the...

View Article


Retrieve checkboxlist data From access database.

Hello,I have a checkboxlist and a button<asp:CheckBoxList ID="CheckBoxList2" runat="server" ><asp:ListItem Text= "1"></asp:ListItem><asp:ListItem Text=...

View Article


Problem with Databinding DropDownList, XMLDataSource, XPath

Hi,following problem: I bounded two DropDownLists via two different XMLDataSources to one XML. Both XMLDataSources were initialised with a XPath argument whereby the second DataSource depend on the...

View Article

Retrive Value From Database

hi all expertisei got problem , i don't how to retrive ID information then pass it into sessioni want the system get the User ID after the user successfully log inbelow is my code for your...

View Article

storing data for visual studio office addin

<div style="margin-top: 25px;">Hi all, Iam creating an addin for microsoft project plan using visual studio.There i need to store some small amount of data which user enters through UI.users will...

View Article

LINKING DATABASES TOGETHER TO GIVE A RESULT

HIi WANT TO LINK 2 DATABASES TOGETHER TO THEN GIVE A RESULT.I HAVE A CALENDAR LINKED TO A DATABASE  <asp:Parameter Name="Id" Type="Int32" />             </DeleteParameters>...

View Article


where clause entitydatasource with variable from codebehind

how do add variable defined in codebehind (as global) to the where clause? ( i tried adding it via aspx page but got stuck)

View Article

objectdatasource problem

Hi all:I...

View Article


Cannot connect to local SQL Server - Named Pipes error, possibly server not...

I am unable to connect to my local instance of SQL Server 2008 Express using SQL Server Management Studio.I believe the problem is related to a change I made to the connection protocols. Before the...

View Article

the database is read-only.

I use MS Sql DataBase file (SQL 2005 )as the conneciton in my project. When I use GridView to update my database, it fail: The error message is : Failed to update database...

View Article


Image may be NSFW.
Clik here to view.

SQL SERVER PROBLEM

 i install sql server 2008 and when i install the following error is comingthen when i go in configuration manager there is no item in this view have a looin this imagehow to solve this????

View Article

this failure may be caused by the fact that under the default settings SQL...

Hi ,      I am struck with one issue.Plz help me out if you have any solution for this one.DetailsFront End - Visual Studio 2005Back End -SQL Server 2000 (Remote database) Error i am getting is...

View Article

An error has occurred while establishing a connection to the server.

Hi i get this error when i try to connect to my database through my web application "An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this...

View Article
Browsing all 956 articles
Browse latest View live


Latest Images