0
votes
0answers
12 views

Nested Gridview with checkboxes errors

As I was working on getting an Ajax based CollapsiblePanelExtender solution this past week (as noted in this previous SO post) it dawned on me that the code for a Nested Gridview was anything but ...
0
votes
0answers
43 views

Counting votes from SQL Server and displaying it using asp.net

I am making an Android app for mobile voting, and to support that I have made some .aspx pages. I am stuck at a point where I have to make a page in which vote count along with the contender name and ...
1
vote
3answers
60 views

How to add option “Any” in a dropdownlist when data is filled from database?

I have dropdownlist where values are added by connecting to database. Here's my code: <asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="SqlDataSource1" DataTextField="devicetype" ...
0
votes
1answer
38 views

Safe way to store web api credentials?

My web application logs into a web api. This needs an email and password. I cannot hash these in my database because the api requires the password in plain text. How can I store my web api ...
1
vote
1answer
32 views

The thread was interrupted

I am using this code to update database with new values. But it return message The thread was interrupted. What does it mean? What is wrong with my code? Dim connStr As String = ...
3
votes
3answers
53 views

Find difference between rows of same column (difference between time data)

I want to find difference between time data which is in same column for group of same employee. I have written a query as below: WITH rows AS ( SELECT isnull(left(hhmm,2)+ ':'+ ...
0
votes
2answers
30 views

Calling Procedure in asp.net

I want to call a Procedure to populate drop down in a form. Right now I am using the code like this: <td class="style4">Choose Category:&nbsp;<font ...
-6
votes
0answers
32 views

Data format between SQL Server and asp.net application [on hold]

In what format(XML or anything else) data exchange occurs between SQL Server and the asp.net application.
7
votes
2answers
62k views

ASP.net using a form to insert data into an sql server table

Hi in php i would do a form with an action to lets say a process.php page and in that page i would take the post values and using a mysql_query would do an insertion. now i am lost ,i am trying to ...
0
votes
1answer
27 views

Timeout error in ASP.NET

I have an ASP.NET web app which will just show data from SQL Server 2008 database server Standard edition, the data to the SQL Server is inserted every time from a windows tool which will be inserting ...
2
votes
6answers
4k views

asp.net mvc Invalid value for key 'attachdbfilename'

I build a simple model and views and import "sql server compact" using NuGet. (Following "Manning ASP.NET MVC 4 in Action" ebook first example) when I finally try to run it I get the following error ...
-4
votes
2answers
62 views

how to check if input is valid in the database [on hold]

How will check the username and password in the database when I input in textbox1 and textbox2 and mmove to another webform succed. I tried: nothing
0
votes
3answers
30 views

How am I suppose to update my data after inserting into database webservice

I have a statement where it insert into my database but after inserting I would like to update my data in the table in webservice. How am I going to do it? This is my code for inserting data: ...
1
vote
2answers
31 views

Return a string Value from SQL Server stored procedure

I have the following method and stored procedure. My question is how to return a string value from stored procedure to use in addStaffName method ? public string addStaffName() { string ...
-1
votes
1answer
20 views

How to subscribe query notification to SQL Server 2012 database [on hold]

GRANT SUBSCRIBE QUERY NOTIFICATIONS TO "Domain\ASPNET" What should I write in between inverted commas?

1 2 3 4 5 267
15 30 50 per page