Click here to Skip to main content
16,006,341 members
Home / Discussions / C#
   

C#

 
QuestionC# Application: How to associate an icon Pin
kirkangel20-Jun-06 9:33
kirkangel20-Jun-06 9:33 
AnswerRe: C# Application: How to associate an icon Pin
Judah Gabriel Himango20-Jun-06 9:36
sponsorJudah Gabriel Himango20-Jun-06 9:36 
JokeRe: C# Application: How to associate an icon Pin
kirkangel27-Jun-06 10:23
kirkangel27-Jun-06 10:23 
QuestionProblem using EntLib DAAB for .NET 2.0 Pin
supD20-Jun-06 9:27
supD20-Jun-06 9:27 
AnswerRe: Problem using EntLib DAAB for .NET 2.0 Pin
Judah Gabriel Himango20-Jun-06 9:35
sponsorJudah Gabriel Himango20-Jun-06 9:35 
AnswerRe: Problem using EntLib DAAB for .NET 2.0 Pin
Blue(Shanghai)20-Jun-06 16:31
Blue(Shanghai)20-Jun-06 16:31 
QuestionDatagrid showing bogus data when page loads Pin
leckey20-Jun-06 8:36
leckey20-Jun-06 8:36 
AnswerRe: Datagrid showing bogus data when page loads Pin
freshonlineMax20-Jun-06 19:20
freshonlineMax20-Jun-06 19:20 
I confused your codes may be right but i never seen like this!!!

<br />
string strSqlQuery="SELECT * FROM Table WHERE id=@id" ;<br />
sqlConnection cnn = new sqlConnection(ConnectionString) ;<br />
sqlCommand cmd = new sqlCommand(strSqlQuery) ;<br />
cmd.Parameters.Add(new sqlParameters("@id",sqlDbType.Int,4,"id"));<br />
cmd.Parameters[0].value = textBox1.Text ;   //String Value<br />
sqlDataAdapter da = new sqlDataAdapter ;<br />
da.SelectCommand = cmd ;<br />
da.Fill(ds,"Table") ;<br />
dgParts.DataSource = ds.Tables[0].TableName ;<br />
dgParts.Refresh() ;<br />


Contact me for any problem...
Questionquestion about MS spell check Pin
likefood20-Jun-06 8:34
likefood20-Jun-06 8:34 
AnswerRe: question about MS spell check Pin
likefood20-Jun-06 8:38
likefood20-Jun-06 8:38 
QuestionGDI : how does paint event work? Pin
User 309585920-Jun-06 8:13
User 309585920-Jun-06 8:13 
AnswerRe: GDI : how does paint event work? Pin
Johnny Hooyberghs20-Jun-06 8:38
Johnny Hooyberghs20-Jun-06 8:38 
GeneralRe: GDI : how does paint event work? Pin
User 309585920-Jun-06 8:44
User 309585920-Jun-06 8:44 
Questioncatching exceptions and posting them in a dialog Pin
Johnny Hooyberghs20-Jun-06 7:41
Johnny Hooyberghs20-Jun-06 7:41 
AnswerRe: catching exceptions and posting them in a dialog Pin
Dan Neely20-Jun-06 8:09
Dan Neely20-Jun-06 8:09 
GeneralRe: catching exceptions and posting them in a dialog Pin
Johnny Hooyberghs20-Jun-06 8:25
Johnny Hooyberghs20-Jun-06 8:25 
GeneralRe: catching exceptions and posting them in a dialog Pin
Dan Neely20-Jun-06 8:51
Dan Neely20-Jun-06 8:51 
QuestionStatic constructor Pin
Ista20-Jun-06 6:37
Ista20-Jun-06 6:37 
AnswerRe: Static constructor Pin
Le centriste20-Jun-06 8:54
Le centriste20-Jun-06 8:54 
GeneralRe: Static constructor Pin
Ista20-Jun-06 8:55
Ista20-Jun-06 8:55 
GeneralRe: Static constructor Pin
Josh Smith20-Jun-06 9:42
Josh Smith20-Jun-06 9:42 
JokeRe: Static constructor Pin
Le centriste21-Jun-06 8:57
Le centriste21-Jun-06 8:57 
GeneralRe: Static constructor Pin
Josh Smith24-Jun-06 15:37
Josh Smith24-Jun-06 15:37 
QuestionArgh, no matter how long I stare at this, I don't get it (XML Serialization related) [modified] Pin
ThisIsMyUserName220-Jun-06 6:37
ThisIsMyUserName220-Jun-06 6:37 
AnswerRe: Argh, no matter how long I stare at this, I don't get it (XML Serialization related) [modified] Pin
mikanu20-Jun-06 9:09
mikanu20-Jun-06 9:09 

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.