Click here to Skip to main content
15,914,379 members
Home / Discussions / C#
   

C#

 
AnswerRe: how I can make the intranet developed in c # to connect to several database in SQL Server 2008 R2 Pin
Mycroft Holmes21-Oct-12 16:16
professionalMycroft Holmes21-Oct-12 16:16 
Questionerror "object reference not set to an instance of an object" c# Pin
madimboo20-Oct-12 12:30
madimboo20-Oct-12 12:30 
AnswerRe: error "object reference not set to an instance of an object" c# Pin
Richard Andrew x6420-Oct-12 13:48
professionalRichard Andrew x6420-Oct-12 13:48 
AnswerRe: error "object reference not set to an instance of an object" c# Pin
Dave Kreskowiak20-Oct-12 20:48
mveDave Kreskowiak20-Oct-12 20:48 
AnswerRe: error "object reference not set to an instance of an object" c# Pin
Eddy Vluggen21-Oct-12 0:32
professionalEddy Vluggen21-Oct-12 0:32 
AnswerRe: error "object reference not set to an instance of an object" c# Pin
Abhinav S21-Oct-12 17:47
Abhinav S21-Oct-12 17:47 
QuestionChatting application in C# Pin
speedchandu20-Oct-12 11:27
speedchandu20-Oct-12 11:27 
AnswerRe: Chatting application in C# Pin
Richard Andrew x6420-Oct-12 13:49
professionalRichard Andrew x6420-Oct-12 13:49 
GeneralRe: Chatting application in C# Pin
speedchandu20-Oct-12 18:55
speedchandu20-Oct-12 18:55 
AnswerRe: Chatting application in C# Pin
uspatel20-Oct-12 19:10
professionaluspatel20-Oct-12 19:10 
GeneralRe: Chatting application in C# Pin
speedchandu22-Oct-12 21:57
speedchandu22-Oct-12 21:57 
QuestionRe: Chatting application in C# Pin
Eddy Vluggen21-Oct-12 0:32
professionalEddy Vluggen21-Oct-12 0:32 
QuestionDataTable not Visible Outside of using Block Pin
ASPnoob20-Oct-12 4:52
ASPnoob20-Oct-12 4:52 
AnswerRe: DataTable not Visible Outside of using Block Pin
Pete O'Hanlon20-Oct-12 5:13
mvePete O'Hanlon20-Oct-12 5:13 
AnswerRe: DataTable not Visible Outside of using Block Pin
Dave Kreskowiak20-Oct-12 6:44
mveDave Kreskowiak20-Oct-12 6:44 
You decalre it outside of the using block.


ASPnoob wrote:
Since this is not a Windows Form application, I had to use the using keyword to
create a datatable


Uhhh, whether or not this is a Windows Forms app has nothing to do with using a using block. It's a stucture that can be used in any type of application and if you can use it or not depends on the object that your specifying in the using statement. That object must implement the IDisposable interface.

QuestionAdding Elements of a List to Another List Pin
ASPnoob20-Oct-12 2:40
ASPnoob20-Oct-12 2:40 
AnswerRe: Adding Elements of a List to Another List Pin
Richard MacCutchan20-Oct-12 3:01
mveRichard MacCutchan20-Oct-12 3:01 
GeneralRe: Adding Elements of a List to Another List Pin
ASPnoob20-Oct-12 3:58
ASPnoob20-Oct-12 3:58 
GeneralRe: Adding Elements of a List to Another List Pin
Richard MacCutchan20-Oct-12 4:05
mveRichard MacCutchan20-Oct-12 4:05 
QuestionDisable Print in webbrowser Pin
zaherAmad20-Oct-12 2:37
zaherAmad20-Oct-12 2:37 
AnswerRe: Disable Print in webbrowser Pin
Dave Kreskowiak20-Oct-12 3:55
mveDave Kreskowiak20-Oct-12 3:55 
QuestionWrite data into excel sheets using c# Pin
Arun kumar Gautam19-Oct-12 23:39
Arun kumar Gautam19-Oct-12 23:39 
AnswerRe: Write data into excel sheets using c# Pin
Richard MacCutchan20-Oct-12 1:27
mveRichard MacCutchan20-Oct-12 1:27 
AnswerRe: Write data into excel sheets using c# Pin
zaherAmad20-Oct-12 3:06
zaherAmad20-Oct-12 3:06 
GeneralRe: Write data into excel sheets using c# Pin
Arun kumar Gautam22-Oct-12 19:23
Arun kumar Gautam22-Oct-12 19:23 

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.