Click here to Skip to main content
15,881,852 members
Home / Discussions / C#
   

C#

 
QuestionHow to check if documents on shared folders are availiable? Pin
Succodimele24-Jun-09 23:42
Succodimele24-Jun-09 23:42 
AnswerRe: How to check if documents on shared folders are availiable? Pin
Sk9325-Jun-09 0:12
Sk9325-Jun-09 0:12 
AnswerRe: How to check if documents on shared folders are availiable? Pin
Mycroft Holmes25-Jun-09 0:49
professionalMycroft Holmes25-Jun-09 0:49 
QuestionUsage of Lambda Expression Pin
HarishBhattbhatt24-Jun-09 23:41
HarishBhattbhatt24-Jun-09 23:41 
AnswerRe: Usage of Lambda Expression Pin
led mike25-Jun-09 4:47
led mike25-Jun-09 4:47 
AnswerRe: Usage of Lambda Expression Pin
Niladri_Biswas25-Jun-09 6:03
Niladri_Biswas25-Jun-09 6:03 
QuestionCombobox control..........?? [modified] Pin
Hum Dum24-Jun-09 23:09
Hum Dum24-Jun-09 23:09 
AnswerRe: Combobox control..........?? Pin
padmanabhan N24-Jun-09 23:31
padmanabhan N24-Jun-09 23:31 
Hum Dum wrote:
a) why this? how to rectify.


Ans: Check whether your have written your code in
if(!page.ispostback)
{
//check whether your code lies here....
}


Hum Dum wrote:
SQL = "Select name from Data where ID = 23";
execute this SQL against DB.
assume ID is primary key,
now only single row returned,

How to get this DataRow without filling it in Datatable?


string con = ConfigurationManager.AppSettings["connect"];
SqlConnection conn = new SqlConnection(con);
conn.Open();
SqlCommand cmd = new SqlCommand("select name from Data where ID=23", conn);
object obj = cmd.ExecuteScalar();
conn.Close();
string name = obj.ToString();

Padmanabhan
My Articles[^]

GeneralRe: Combobox control..........?? Pin
Hum Dum25-Jun-09 1:33
Hum Dum25-Jun-09 1:33 
QuestionReceive mail by C# code Pin
khosnur24-Jun-09 22:45
khosnur24-Jun-09 22:45 
AnswerRe: Receive mail by C# code Pin
stancrm24-Jun-09 23:00
stancrm24-Jun-09 23:00 
GeneralRe: Receive mail by C# code Pin
khosnur6-Jul-09 23:45
khosnur6-Jul-09 23:45 
GeneralRe: Receive mail by C# code Pin
khosnur6-Jul-09 23:47
khosnur6-Jul-09 23:47 
QuestionImage processing problem... Pin
S K Y24-Jun-09 22:08
S K Y24-Jun-09 22:08 
AnswerRe: Image processing problem... Pin
Christian Graus24-Jun-09 22:34
protectorChristian Graus24-Jun-09 22:34 
GeneralRe: Image processing problem... Pin
S K Y24-Jun-09 23:28
S K Y24-Jun-09 23:28 
GeneralRe: Image processing problem... Pin
Luc Pattyn24-Jun-09 23:57
sitebuilderLuc Pattyn24-Jun-09 23:57 
QuestionHow to retrive and save the attachments of the Mail from Pop3. Pin
Nekkantidivya24-Jun-09 21:32
Nekkantidivya24-Jun-09 21:32 
AnswerRe: How to retrive and save the attachments of the Mail from Pop3. Pin
Christian Graus24-Jun-09 21:46
protectorChristian Graus24-Jun-09 21:46 
Questionimporting table to another database Pin
leone24-Jun-09 20:36
leone24-Jun-09 20:36 
AnswerRe: importing table to another database Pin
Mycroft Holmes24-Jun-09 20:45
professionalMycroft Holmes24-Jun-09 20:45 
GeneralRe: importing table to another database Pin
leone25-Jun-09 1:15
leone25-Jun-09 1:15 
GeneralRe: importing table to another database Pin
Mycroft Holmes25-Jun-09 1:48
professionalMycroft Holmes25-Jun-09 1:48 
QuestionDifference between commandtype.storedprocedure and commandtype.text in terms of speed. Pin
Ersan Ercek24-Jun-09 20:28
Ersan Ercek24-Jun-09 20:28 
AnswerRe: Difference between commandtype.storedprocedure and commandtype.text in terms of speed. Pin
Mycroft Holmes24-Jun-09 20:51
professionalMycroft Holmes24-Jun-09 20:51 

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.