Click here to Skip to main content
15,910,661 members
Home / Discussions / C#
   

C#

 
AnswerRe: Treeview node folder images Pin
Ravi Bhavnani21-Aug-13 7:40
professionalRavi Bhavnani21-Aug-13 7:40 
AnswerRe: Treeview node folder images Pin
SaqibRasheed23-Aug-13 2:19
SaqibRasheed23-Aug-13 2:19 
QuestionChart ToolTip using #VALX as Key of a dictionary Pin
PozzaVecia20-Aug-13 11:43
PozzaVecia20-Aug-13 11:43 
QuestionASP.NET - Dynamic Control ? Or Some other idea ? Pin
Forbiddenx20-Aug-13 9:42
Forbiddenx20-Aug-13 9:42 
SuggestionRe: ASP.NET - Dynamic Control ? Or Some other idea ? Pin
Richard MacCutchan20-Aug-13 20:12
mveRichard MacCutchan20-Aug-13 20:12 
QuestionRetrieve all rows in MySQL stored procedure and put in in C# class. Pin
dudz artiaga20-Aug-13 3:24
dudz artiaga20-Aug-13 3:24 
AnswerRe: Retrieve all rows in MySQL stored procedure and put in in C# class. Pin
Simon_Whale20-Aug-13 4:55
Simon_Whale20-Aug-13 4:55 
AnswerRe: Retrieve all rows in MySQL stored procedure and put in in C# class. Pin
SaqibRasheed20-Aug-13 12:24
SaqibRasheed20-Aug-13 12:24 
MySqlCommand cmd = new MySqlCommand("ProcName", new MySqlConnection("ConnectoinStringHere")); // ProcName should be the name of the procedure which you want to call
cmd.CommandType = CommandType.StoredProcedure;
cmd.Connection.Open();
MySqlDataReader dataReader = cmd.ExecuteReader(CommandBehavior.CloseConnection);

// Now you have all the data in the dataReader. So, you can loop through the datareader like

while (dataReader.Read())

{

string name = dataReader["Name"].ToString(); // this will store the Name (which is a column_name in the database) to a local variable

}

dr.Close();

But it is suggested to not get the full data of a table into the memory unless you really require it.
QuestionGetting 403 (Forbidden) from HttpWebRequest Pin
Member 993503820-Aug-13 1:32
Member 993503820-Aug-13 1:32 
AnswerRe: Getting 403 (Forbidden) from HttpWebRequest Pin
Keith Barrow20-Aug-13 2:35
professionalKeith Barrow20-Aug-13 2:35 
GeneralRe: Getting 403 (Forbidden) from HttpWebRequest Pin
Member 993503820-Aug-13 3:28
Member 993503820-Aug-13 3:28 
GeneralRe: Getting 403 (Forbidden) from HttpWebRequest Pin
Keith Barrow20-Aug-13 3:56
professionalKeith Barrow20-Aug-13 3:56 
GeneralRe: Getting 403 (Forbidden) from HttpWebRequest Pin
harold aptroot20-Aug-13 4:10
harold aptroot20-Aug-13 4:10 
Questionthreading in c# Pin
Member 1022020019-Aug-13 23:31
Member 1022020019-Aug-13 23:31 
AnswerRe: threading in c# Pin
Pete O'Hanlon20-Aug-13 0:01
mvePete O'Hanlon20-Aug-13 0:01 
SuggestionRe: threading in c# Pin
Ahsan9820-Aug-13 0:20
Ahsan9820-Aug-13 0:20 
SuggestionRe: threading in c# Pin
Ahsan9820-Aug-13 0:31
Ahsan9820-Aug-13 0:31 
GeneralRe: threading in c# Pin
Eddy Vluggen20-Aug-13 0:46
professionalEddy Vluggen20-Aug-13 0:46 
GeneralRe: threading in c# Pin
BillWoodruff20-Aug-13 15:08
professionalBillWoodruff20-Aug-13 15:08 
AnswerRe: threading in c# Pin
Ravi Bhavnani21-Aug-13 7:42
professionalRavi Bhavnani21-Aug-13 7:42 
QuestionWindowsApp and Website Share One Database Pin
ali_heidari_19-Aug-13 23:15
ali_heidari_19-Aug-13 23:15 
AnswerRe: WindowsApp and Website Share One Database Pin
Eddy Vluggen20-Aug-13 0:50
professionalEddy Vluggen20-Aug-13 0:50 
GeneralRe: WindowsApp and Website Share One Database Pin
ali_heidari_21-Aug-13 23:17
ali_heidari_21-Aug-13 23:17 
AnswerRe: WindowsApp and Website Share One Database Pin
SaqibRasheed20-Aug-13 12:37
SaqibRasheed20-Aug-13 12:37 
QuestionRDLC Report Designer Pin
cdpsource19-Aug-13 22:10
cdpsource19-Aug-13 22:10 

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.