Click here to Skip to main content
15,891,529 members
Home / Discussions / C#
   

C#

 
AnswerRe: get Keyboard Hooks from a particular application Pin
King Julien17-Aug-09 22:32
King Julien17-Aug-09 22:32 
GeneralRe: get Keyboard Hooks from a particular application Pin
avika17-Aug-09 22:43
avika17-Aug-09 22:43 
GeneralRe: get Keyboard Hooks from a particular application Pin
King Julien17-Aug-09 23:26
King Julien17-Aug-09 23:26 
QuestionAccuracy of double Pin
bonzaiholding17-Aug-09 21:50
bonzaiholding17-Aug-09 21:50 
AnswerRe: Accuracy of double Pin
musefan17-Aug-09 22:04
musefan17-Aug-09 22:04 
AnswerRe: Accuracy of double Pin
padmanabhan N17-Aug-09 22:21
padmanabhan N17-Aug-09 22:21 
AnswerRe: Accuracy of double Pin
Calla17-Aug-09 22:29
Calla17-Aug-09 22:29 
QuestionEnterprise Library with Microsoft Access [modified] Pin
Tiger45617-Aug-09 21:31
Tiger45617-Aug-09 21:31 
Hi,

How to pass parameters to a Access database using oledb provider and enterprise library. We used below code to update category table which has two colums ID and CategoryName. The code runs successfully without any errors but the table row remains unchanged. What could be the problem


Database db = DatabaseFactory.CreateDatabase("MyDemoConnection");
           DbCommand dbCommand = db.GetSqlStringCommand("Update Category SET CategoryName = @CategoryName WHERE ID = @ID");
          db.AddInParameter(dbCommand, "@ID", DbType.Int32,(int) 1);
           db.AddInParameter(dbCommand, "@CategoryName", DbType.String, "Just a Change");

           // Execute command
           int i = db.ExecuteNonQuery(dbCommand);


<connectionStrings>
		<add name="MyDemoConnection" 
                        connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\db1.mdb;User Id=admin;Password=;"  
                        providerName="System.Data.OleDb"/>
	</connectionStrings>


It would be great if any one can redirect me to the exact way

modified on Friday, August 21, 2009 7:21 AM

AnswerRe: Enterprise Library with Microsoft Access Pin
Hristo-Bojilov17-Aug-09 21:43
Hristo-Bojilov17-Aug-09 21:43 
Questionwhat is the best way to import from excel Pin
Abdul Rahman Hamidy17-Aug-09 21:23
Abdul Rahman Hamidy17-Aug-09 21:23 
AnswerRe: what is the best way to import from excel Pin
Johan Hakkesteegt18-Aug-09 1:36
Johan Hakkesteegt18-Aug-09 1:36 
Questionhow can i send and receive packets by using network connection of another application? Pin
Frozzeg17-Aug-09 20:55
Frozzeg17-Aug-09 20:55 
AnswerRe: how can i send and receive packets by using network connection of another application? Pin
Christian Graus17-Aug-09 21:12
protectorChristian Graus17-Aug-09 21:12 
Questionexample code Digital Mark Reader Pin
aspalto17-Aug-09 20:37
aspalto17-Aug-09 20:37 
AnswerRe: example code Digital Mark Reader Pin
Ashfield17-Aug-09 21:03
Ashfield17-Aug-09 21:03 
AnswerRe: example code Digital Mark Reader Pin
Super Lloyd18-Aug-09 18:20
Super Lloyd18-Aug-09 18:20 
QuestionVOIP Pin
rosae61917-Aug-09 20:13
rosae61917-Aug-09 20:13 
AnswerRe: VOIP Pin
Christian Graus17-Aug-09 20:34
protectorChristian Graus17-Aug-09 20:34 
GeneralRe: VOIP Pin
CoderForEver18-Aug-09 9:59
CoderForEver18-Aug-09 9:59 
AnswerRe: VOIP Pin
CoderForEver18-Aug-09 10:03
CoderForEver18-Aug-09 10:03 
QuestionAccessing Dynamic Controls in Repeater Pin
Chad Roeder17-Aug-09 19:50
Chad Roeder17-Aug-09 19:50 
AnswerRe: Accessing Dynamic Controls in Repeater Pin
Chad Roeder19-Aug-09 20:57
Chad Roeder19-Aug-09 20:57 
Questionhow to start p2p voip Pin
ralphigo17-Aug-09 19:46
ralphigo17-Aug-09 19:46 
AnswerRe: how to start p2p voip Pin
Christian Graus17-Aug-09 19:50
protectorChristian Graus17-Aug-09 19:50 
Questionhow to display a 12-month calendar for the input year using c# Pin
ajithnamboodiri17-Aug-09 19:12
ajithnamboodiri17-Aug-09 19:12 

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.