Click here to Skip to main content
15,913,115 members
Home / Discussions / C#
   

C#

 
AnswerRe: Help regarding fontstyles Pin
Pete O'Hanlon20-Mar-07 23:57
mvePete O'Hanlon20-Mar-07 23:57 
Questionquery. Pin
Nekshan20-Mar-07 23:21
Nekshan20-Mar-07 23:21 
AnswerRe: query. Pin
virendra patel20-Mar-07 23:23
virendra patel20-Mar-07 23:23 
AnswerRe: query. Pin
Pete O'Hanlon20-Mar-07 23:25
mvePete O'Hanlon20-Mar-07 23:25 
Questioncheck if i can r/w from/to file in smart client Pin
VirtualVoid.NET20-Mar-07 23:21
VirtualVoid.NET20-Mar-07 23:21 
AnswerRe: check if i can r/w from/to file in smart client Pin
joon vh.21-Mar-07 2:35
joon vh.21-Mar-07 2:35 
QuestionQuery Pin
Nekshan20-Mar-07 22:56
Nekshan20-Mar-07 22:56 
AnswerRe: Query Pin
virendra patel20-Mar-07 23:11
virendra patel20-Mar-07 23:11 
conn.Open();
SqlCommand cmm = new SqlCommand("select url, sitehit, survey, tellafriend, addtooutlook from tblsummary", conn);
SqlDataAdapter ad = new SqlDataAdapter(cmm);
DataSet ds = new DataSet();
ad.Fill(ds, "tblsummary");

string str
Dim ds As DataSet1
if (ds.Tables(0).Rows.Count != 0)
{
string str ="";
Str = ds.Tables(0).Rows(0).Item(1).ToString(); ' i think item is starts from 0 if not work then write here 0 then 1 upto 4 ok.
str += ds.Tables(0).Rows(0).Item(2).ToString();
str += ds.Tables(0).Rows(0).Item(3).ToString();
str += ds.Tables(0).Rows(0).Item(4).ToString();
str += ds.Tables(0).Rows(0).Item(5).ToString();
}
MessageBox.Show(str);

run in debug mode with putting break point over this code so u get it better.
if it skip if condition then no row is coming from database ok so check query if not going in if condition.

replay me feedback after testing.

AnswerRe: Query Pin
N a v a n e e t h20-Mar-07 23:12
N a v a n e e t h20-Mar-07 23:12 
GeneralRe: Query Pin
com.neeraj20-Mar-07 23:21
com.neeraj20-Mar-07 23:21 
QuestionArt network with C# Pin
pariisa20-Mar-07 22:21
pariisa20-Mar-07 22:21 
AnswerRe: Art network with C# Pin
V.20-Mar-07 22:39
professionalV.20-Mar-07 22:39 
AnswerRe: Art network with C# Pin
PlayByTheRules20-Mar-07 23:46
PlayByTheRules20-Mar-07 23:46 
GeneralRe: Art network with C# Pin
Pete O'Hanlon20-Mar-07 23:50
mvePete O'Hanlon20-Mar-07 23:50 
GeneralRe: Art network with C# Pin
Russell Jones21-Mar-07 1:12
Russell Jones21-Mar-07 1:12 
GeneralRe: Art network with C# Pin
Pete O'Hanlon21-Mar-07 2:22
mvePete O'Hanlon21-Mar-07 2:22 
GeneralRe: Art network with C# Pin
Colin Angus Mackay21-Mar-07 4:52
Colin Angus Mackay21-Mar-07 4:52 
QuestionHaving issues with Object comparison [modified] Pin
myNameIsRon20-Mar-07 20:59
myNameIsRon20-Mar-07 20:59 
AnswerRe: Having issues with Object comparison Pin
joon vh.20-Mar-07 22:09
joon vh.20-Mar-07 22:09 
GeneralRe: Having issues with Object comparison Pin
myNameIsRon21-Mar-07 5:05
myNameIsRon21-Mar-07 5:05 
GeneralRe: Having issues with Object comparison Pin
joon vh.21-Mar-07 5:23
joon vh.21-Mar-07 5:23 
GeneralRe: Having issues with Object comparison Pin
myNameIsRon21-Mar-07 5:40
myNameIsRon21-Mar-07 5:40 
GeneralRe: Having issues with Object comparison Pin
joon vh.21-Mar-07 5:46
joon vh.21-Mar-07 5:46 
GeneralRe: Having issues with Object comparison Pin
myNameIsRon21-Mar-07 16:50
myNameIsRon21-Mar-07 16:50 
GeneralRe: Having issues with Object comparison Pin
myNameIsRon21-Mar-07 18:55
myNameIsRon21-Mar-07 18:55 

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.