Parse every SQL row in table, and return value in col 2 based on search for...
Hi AllHoping somebody can assist with this one. A quick overview of the result of the code and what i need it to return;Code is for tapping into PRTG using the PRTG API Taps into PRTG API to return a...
View ArticleLogin error - No process is on the other end of the pipe on initial logon...
I am having a logon problem with asp.net apps that were created using Visual Web Developer 2008. Data is on SQL Server Express 2008 running on Windows 2003 server with IIS6. Connection is on a LAN....
View Articleusing SqlDatASource programmatically - output parameters
I am using SqlDataSource programmatically in my data access layer - mainly for convenience but it does generally work fine with no obvious performance issues.The problem I have is with getting back an...
View ArticleUpdate just 'Comments' MembershipUser Property
I am trying to update just the 'Comments' property in ASP. NET MembershipUser and want to leave all other property untouched. Here is my codesMembershipUser userComments =...
View ArticleThe result return all null?
Dim y As Integer For y = 0 To student.Tables(0).Rows.Count.ToString() - 1 Dim cmd As New SqlCommand("dbo.Test", conn) cmd.CommandType = CommandType.StoredProcedure...
View ArticleFilter control based on selected datetime variables
I want to have a list of values that represent the previous : week,fortnight,month plus all rows pass each variable to SQL procedure then populate a control with the returned dataset for that...
View ArticleConfusion of data in datasets
Hello. I made a website where users log in to the system and add and update materials. I have a problem like this. When the system is very busy, when the user logs in with his name, he sees the data of...
View ArticleHow can i select from sys.databases and compare the name returned ?
Hi ,I have a db I can see in SSMS named MyTestDB. The server is Case Sensitive with collation SQL_Latin1_General_CP1_CS_ASi am wanting to see if a db exists . I do the following SELECT name from...
View ArticleMultiple DataSource Controls from 1 Stored Procedure
I have a stored procedure that returns two data sets. Is it somehow possible, using VB.Net and/or ASP.Net code, to attach each of these two data sets to a separate SqlDataSource control?
View ArticleINSERT Date in SQL Datebase using SQLDATASOURCE Control
Hi,I have built a data entry page. In which there re more than 20 Data which are being inserted via text box, dropdownlist etc.Below is the aspx code snippet of SQLDATASOURCE...
View ArticleSystem.ComponentModel.Win32Exception (0x80004005): The system cannot find the...
Hi,I am trying to generate a report by using SQL Server 2008 R2 File Stream and WCF Service. I am able to generate reports if the service is hosted in the same server which database is located i.e....
View ArticleCommands out of sync; you can't run this command now
I am running a .Net WebForms site that queries a MySQL database repeatedly in order to fill drop-downs on a form. The queries are almost all stored procedures if that makes a difference. This has...
View ArticleASP.NET SQLDataSource SelectParameters not set correctly
I have an `ASP.NET` web form coded like this:<asp:TextBox ClientIDMode="Static" ID="_txtExitDate" runat="server" EnableViewState="true" /><asp:TextBox ClientIDMode="Static" ID="_txtEnterDate"...
View ArticleUsing DropDownList empty value as SelectCommand ControlParameter
I need to use a DropDownList as a control to provide parameters to my query.<asp:ControlParameter Direction="Input" DbType="String" ControlID="_ddlMonth" ConvertEmptyStringToNull="true"...
View ArticleSQLDataSource SelectParameters value do not set
I'm working on a ASP.NET form that should populate a GridViewtrough a SQLDataSource using controls values (TextBoxes, DropDownList) to set SelectParameters values. The ASP code below depict the most...
View ArticleException Unhandled (System.InvalidOperationException:'ExecuteReader...
Hi all. i am new to coding in visual studio(C#). I am using Windows Forms App (.Net Framework). I am currently doing this code but i meant an error. The error is shown in the title. These are my codes...
View ArticleDatabind problem
I can't seem to get a simple .NET application to recognize a databound control. Basically I have a .NET application, this time in Visual Basic, with an Entity build from an existing database. When I...
View Articledata update using control
Hi,I am new to programming, I am working on creating new web service that update database. My requirement is using a web services with vb.net.PLEASE HELP!Rani
View ArticleUsing ReportViewer with SQLDataSource and MySQL
Hallo,I've been asked to upgrade some asp.net form associated with a report running onIIS with MySQL database.Such .rdlc reports have been created with an older release of MS ReportDesigner. I found...
View ArticleError in obj.staffs
int staffID; private void dataGridView1_CellClick(object sender, DataGridViewCellEventArgs e) { if (e.RowIndex != -1 && e.ColumnIndex != -1) {...
View Article