Click here to Skip to main content
15,886,137 members
Home / Discussions / C#
   

C#

 
GeneralRe: can not open new form problem? Pin
Ravi Bhavnani20-Dec-09 20:44
professionalRavi Bhavnani20-Dec-09 20:44 
Questionprinting the slip Pin
Thaer Hamael20-Dec-09 19:19
Thaer Hamael20-Dec-09 19:19 
AnswerRe: printing the slip Pin
Ravi Bhavnani20-Dec-09 20:47
professionalRavi Bhavnani20-Dec-09 20:47 
Questionreport viewer problem Pin
ali- kanju220-Dec-09 18:21
ali- kanju220-Dec-09 18:21 
AnswerRe: report viewer problem Pin
NarendraSinghJTV20-Dec-09 20:18
NarendraSinghJTV20-Dec-09 20:18 
QuestionAdvantages in 32-bit Windows 7 -vs- 64-bit Windows 7 for Azure development Pin
stringtheory_x20-Dec-09 16:48
stringtheory_x20-Dec-09 16:48 
AnswerRe: Advantages in 32-bit Windows 7 -vs- 64-bit Windows 7 for Azure development Pin
Saksida Bojan20-Dec-09 18:30
Saksida Bojan20-Dec-09 18:30 
QuestionClearing of database. Pin
codenoobie20-Dec-09 15:34
codenoobie20-Dec-09 15:34 
Hello, I'm new to the forum here. I'm currently using the Windows mobile 6 to create a database from the SQL Compact database edition. I'm currently facing this problem clearing of database. This is the code snippet below. I'm grateful for any help given. Thanks.



conn.Open();

SqlCeCommand cmd = conn.CreateCommand();
//cmd.CommandText = " DROP TABLE LOCATION";
cmd.CommandText = "DELETE from LOCATION where No = @No";
//=@No, DateAndTime=@DateAndTime,LocationInformation=@LocationInformation ";

-- cmd.ExecuteNonQuery(); -- This is the line where the error surfaced. "SqlCeException was mishandled (A parameter is missing. [ Parameter ordinal = 1 ] )"


this.Refresh();
conn.Close();


Codenoobie
AnswerRe: Clearing of database. Pin
Rod Kemp20-Dec-09 16:13
Rod Kemp20-Dec-09 16:13 
GeneralRe: Clearing of database. Pin
codenoobie20-Dec-09 22:18
codenoobie20-Dec-09 22:18 
GeneralRe: Clearing of database. Pin
Rod Kemp21-Dec-09 0:54
Rod Kemp21-Dec-09 0:54 
GeneralRe: Clearing of database. Pin
codenoobie2-Jan-10 15:25
codenoobie2-Jan-10 15:25 
Questiondisplay (render) html in forms Pin
Jayapal Chandran20-Dec-09 7:47
Jayapal Chandran20-Dec-09 7:47 
AnswerRe: display (render) html in forms Pin
o m n i20-Dec-09 8:12
o m n i20-Dec-09 8:12 
QuestionRe: display (render) html in forms Pin
Jayapal Chandran20-Dec-09 8:21
Jayapal Chandran20-Dec-09 8:21 
AnswerRe: display (render) html in forms [modified] Pin
Luc Pattyn20-Dec-09 9:01
sitebuilderLuc Pattyn20-Dec-09 9:01 
GeneralRe: display (render) html in forms Pin
Jayapal Chandran20-Dec-09 9:16
Jayapal Chandran20-Dec-09 9:16 
GeneralRe: display (render) html in forms Pin
Luc Pattyn20-Dec-09 9:38
sitebuilderLuc Pattyn20-Dec-09 9:38 
GeneralRe: display (render) html in forms Pin
Jayapal Chandran20-Dec-09 11:04
Jayapal Chandran20-Dec-09 11:04 
AnswerRe: display (render) html in forms Pin
#realJSOP20-Dec-09 9:55
mve#realJSOP20-Dec-09 9:55 
GeneralRe: display (render) html in forms Pin
Jayapal Chandran20-Dec-09 11:05
Jayapal Chandran20-Dec-09 11:05 
QuestionNullable<> Pin
hotthoughtguy20-Dec-09 7:20
hotthoughtguy20-Dec-09 7:20 
AnswerRe: Nullable<> Pin
Luc Pattyn20-Dec-09 7:24
sitebuilderLuc Pattyn20-Dec-09 7:24 
GeneralRe: Nullable<> Pin
hotthoughtguy20-Dec-09 7:29
hotthoughtguy20-Dec-09 7:29 
AnswerRe: Nullable<> Pin
Gideon Engelberth20-Dec-09 18:02
Gideon Engelberth20-Dec-09 18:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.