Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:699417
More Search Options
RSS Available
Matching Posts
Question and Answer application
I'm writing a application where the user reads a question, clicks a button to see if the answer is correct. The next thing is to move to the next question. How would I do that (move to the next question) should use a loop? The questions and answers are in a database on the same row.
Posted to
Getting Started
(Forum)
by
bthumber
on 11/24/2009
Select statement with a AND?
I'm trying write a SELECT statement to filter out soft-deleted records: string str = "SELECT * FROM AppointmentsInformation WHERE DoctorID='" + doctor + "AND" + state=0 "'" ; But I get an error "Left side of an assignment must be a variable. state is the column heading." How do I fix this?
Posted to
Web Forms
(Forum)
by
bthumber
on 10/14/2009
Re: Insert data into a database
Thanks all, I found the problem...the ID column is an Identity.
Posted to
Web Forms
(Forum)
by
bthumber
on 10/10/2009
Testing a class
I'm trying to test methods in my class using a console application. Here is the console app. static void Main(string[] args) { // This has two overload. AppointmentClass ac = new AppointmentClass(); int first = 0; string date = "10/9/09"; string city = "Buffalo"; string foot = "foot"; string dr = "Dr. Foot"; int distance = 20; string meds = "none"; //int state = 0; ac.InsertAppointment(0, date, city, foot, dr, 20, meds); Console.WriteLine("
Posted to
Getting Started
(Forum)
by
bthumber
on 10/9/2009
Re: Testing a class
CommandType is not needed because I passed the string to the command.
Posted to
Getting Started
(Forum)
by
bthumber
on 10/9/2009
Re: Testing a class
I sure did, the last line is running and I'm getting any exceptions...should I???
Posted to
Getting Started
(Forum)
by
bthumber
on 10/9/2009
Re: Testing a class
Yes, I'm sure about the connection. I'm not getting any errors.
Posted to
Getting Started
(Forum)
by
bthumber
on 10/9/2009
Re: Testing a class
How can I test to see if I'm handling the exception correctly, also do you see anything worry with code in the class or the console app?
Posted to
Getting Started
(Forum)
by
bthumber
on 10/9/2009
Re: Testing a class
So, by looking at the code I should be throwing an exception? How do I improve my catches?
Posted to
Getting Started
(Forum)
by
bthumber
on 10/9/2009
Re: Testing a class
Ok, now get an error "Sql Error on insertion"
Posted to
Getting Started
(Forum)
by
bthumber
on 10/9/2009
Page 1 of 36 (351 items) 1
2
3
4
5
Next >
...
Last »
ASP.NET:
Tip#100: Did you know… How to view ASP.NET trace information?
ASP.NET:
Passing anonymous objects to MVC views and accessing them using dynamic
Channel 9:
Channel 9 Live at PDC09: Coding 4 Fun
Channel 9:
Channel 9 Live at PDC09: Stephen Toub
WindowsClient:
Mouse Gestures for Internet Explorer
Channel 9:
Controlling concurrency in Rx
Channel 9:
Dev Tools Ecosystem Summit Videos Available
WindowsClient:
Using Cerebrata's Cloud Storage Studio To Download IIS logs from Multiple Instances of Windows Azure
TechNet Edge:
TechNet Radio: Office 2007 Setup and Configuration (Part 1)
Channel 10:
How-To: Listen to Your Zune Pass Music on Your WinMo Phone
Channel 10:
Share Your Screen with SharedView
Channel 10:
Get Microsoft Tinker Game For Free
Channel 10:
LG eXpo WinMo 6.5 Unboxing Video
Channel 9:
ADFS 2.0 RC is Here!
Channel 10:
Bing Reference Updated with New Sidebar Features
Channel 10:
Look Behind SurfaceScapes
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part I
TechNet Edge:
Windows Server 2008 R2 Quick Look- Installing the Migration Tools
WindowsClient:
My latest videos – WPF, Silverlight, Sensors, and PDC09
WindowsClient:
Developing an installer for your Surface application
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online