Click here to Skip to main content
15,918,967 members
Home / Discussions / C#
   

C#

 
QuestionTCPClient Socket Pin
Mohammed Shahab23-Feb-08 1:25
Mohammed Shahab23-Feb-08 1:25 
Questionfrom C# 2003 to C# 2005 Pin
Knowledgestudent23-Feb-08 0:58
Knowledgestudent23-Feb-08 0:58 
GeneralRe: from C# 2003 to C# 2005 Pin
Colin Angus Mackay23-Feb-08 4:07
Colin Angus Mackay23-Feb-08 4:07 
GeneralRe: from C# 2003 to C# 2005 Pin
Knowledgestudent23-Feb-08 8:54
Knowledgestudent23-Feb-08 8:54 
Questionerror while retriving an image from Firebied database Pin
avvaru.murali23-Feb-08 0:57
avvaru.murali23-Feb-08 0:57 
GeneralRe: error while retriving an image from Firebied database Pin
Colin Angus Mackay23-Feb-08 4:28
Colin Angus Mackay23-Feb-08 4:28 
QuestionDatabse connectivity ? Pin
Hum Dum23-Feb-08 0:14
Hum Dum23-Feb-08 0:14 
AnswerRe: Databse connectivity ? Pin
Colin Angus Mackay23-Feb-08 4:25
Colin Angus Mackay23-Feb-08 4:25 
humdumof wrote:
a) What is diffrence between creating connection thru VS designer wizard And doing same by coding?
Which is better.


The wizard can only ever put the code in your presentation layer. This is not the place for database code.

Doing it by hand means that you can create a proper DAL (Data Abstraction Layer)


humdumof wrote:
System.ComponentMode1.IsupportIntialize


That does not exist. Please copy and paste the code properly. The actual interface is called System.ComponentModel.ISupportInitialize

Have you tried reading the documentation[^]?

I'm guessing that the object is a DataSet. If not then please tell us what it is, it wastes time trying to guess this sort of thing. If it is a dataset the BeginInit[^] and EndInit[^] methods are documented.


humdumof wrote:
//dt for datatable, state is field in dt
this.textBox.DataBinding.Add(new System.Window.Forms("Text", dt, "State"));// line 1
this.textBox.DataBinding.Add("Text", dt, "State"));// line 2
textBox.DataBinding.Add("Text", dt, "State"));// line 3

what is diffrence between these lines, I tried all for same control, they work fine with no error, But which one to use?


The difference between line 2 and 3 is so basic I'd suggest you really need to read a beginners book on C# if you can't see what is happening.

this is a keyword that refers to the current instantiated object the code is operating within. For the most part it is optional. If you have a local variable with the same name as a class member then you need to use this. If not, then its use is completely optional you can use it or not. It makes no difference.

The difference between lines 1 and 2 can be found in the documentation. You can access the documentation by pressing F1 in Visual Studio. Or you can go to http://msdn.microsoft.com[^] and there is even a Vista Gadget where you can type in search terms and it will take you directly to the documenation.


GeneralManage keyboard shortcuts in a winform application Pin
Marlun22-Feb-08 23:28
Marlun22-Feb-08 23:28 
GeneralRe: Manage keyboard shortcuts in a winform application Pin
Mohammed Shahab23-Feb-08 2:04
Mohammed Shahab23-Feb-08 2:04 
GeneralRe: Manage keyboard shortcuts in a winform application Pin
Marlun24-Feb-08 3:23
Marlun24-Feb-08 3:23 
GeneralRe: Manage keyboard shortcuts in a winform application Pin
Marlun24-Feb-08 3:35
Marlun24-Feb-08 3:35 
Generalcontrolling a mesh in C# Pin
anarchi2322-Feb-08 22:47
anarchi2322-Feb-08 22:47 
GeneralRe: controlling a mesh in C# Pin
Gareth H23-Feb-08 0:11
Gareth H23-Feb-08 0:11 
Generalsend an Email. Pin
ali_reza_zareian22-Feb-08 22:34
ali_reza_zareian22-Feb-08 22:34 
GeneralRe: send an Email. Pin
Abhijit Jana22-Feb-08 23:37
professionalAbhijit Jana22-Feb-08 23:37 
GeneralStored procedure in C# Pin
mrkeivan22-Feb-08 22:05
mrkeivan22-Feb-08 22:05 
GeneralRe: Stored procedure in C# Pin
Hesham Amin22-Feb-08 22:38
Hesham Amin22-Feb-08 22:38 
GeneralRe: Stored procedure in C# Pin
mrkeivan23-Feb-08 9:25
mrkeivan23-Feb-08 9:25 
GeneralRe: Stored procedure in C# Pin
PIEBALDconsult23-Feb-08 14:56
mvePIEBALDconsult23-Feb-08 14:56 
GeneralRe: Stored procedure in C# Pin
ali_reza_zareian22-Feb-08 22:40
ali_reza_zareian22-Feb-08 22:40 
QuestionHow to generate random number [modified] Pin
D i x y22-Feb-08 20:50
D i x y22-Feb-08 20:50 
GeneralRe: How to generate base64 random number Pin
Hesham Amin22-Feb-08 22:36
Hesham Amin22-Feb-08 22:36 
GeneralRe: How to generate base64 random number Pin
D i x y22-Feb-08 22:45
D i x y22-Feb-08 22:45 
GeneralRe: How to generate base64 random number Pin
Gareth H23-Feb-08 0:08
Gareth H23-Feb-08 0:08 

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.