Click here to Skip to main content
15,887,027 members
Home / Discussions / C#
   

C#

 
GeneralRe: Highlight Value on Tab Pin
Joemama6113-Aug-07 10:39
Joemama6113-Aug-07 10:39 
GeneralRe: Highlight Value on Tab Pin
Luc Pattyn13-Aug-07 10:52
sitebuilderLuc Pattyn13-Aug-07 10:52 
QuestionSQL connection timeout Pin
Demian Panello13-Aug-07 4:43
Demian Panello13-Aug-07 4:43 
AnswerRe: SQL connection timeout Pin
Justin Perez13-Aug-07 4:48
Justin Perez13-Aug-07 4:48 
GeneralRe: SQL connection timeout Pin
Demian Panello13-Aug-07 5:03
Demian Panello13-Aug-07 5:03 
GeneralRe: SQL connection timeout Pin
Justin Perez13-Aug-07 5:12
Justin Perez13-Aug-07 5:12 
GeneralRe: SQL connection timeout Pin
satsumatable13-Aug-07 6:35
satsumatable13-Aug-07 6:35 
QuestionHow to dump more than one row from table into the array !!!! please Help Pin
ANKUR2213-Aug-07 4:41
ANKUR2213-Aug-07 4:41 
hello ,
my self ankur , i am very new to .net (C#)
I had made an function in vb .net but same logic is not workin in C#
please help.
I had Written an Following Code .
try
{
da = new SqlDataAdapter(Cmd);
dt = new DataTable();
da.Fill(dt);
int i=0,j=0,p=0,k=0,m=0;
string[] arr = new string[((dt.Columns.Count) * 3)];
if (dt.Rows.Count <= 0) return arr;
for (j = 0; j <= dt.Rows.Count - 1; j++)
{
if ((j == 0))
{
for (i = 0; i <= dt.Columns.Count - 1; i++)
{
arr[i] =dt.Rows[0].ItemArray[i].ToString();
//(dt.Rows[0].Item(i));
p = i;
}
}
if ((j == 1))
{
k = p + 1;
//For k = i To dt.Columns.Count - 1
for (i = 0; i <= dt.Columns.Count - 1; i++)
{

arr[k] =dt.Rows[1].ItemArray[i].ToString();
k = k + 1;
}
}
if ((j == 2))
{
m = k;
//For k = i To dt.Columns.Count - 1
for (i = 0; i <= dt.Columns.Count - 1; i++)
{

arr[m] =dt.Rows[2].ItemArray[i].ToString();
m = m + 1;
}
//Next
}

}
AnswerRe: How to dump more than one row from table into the array !!!! please Help Pin
Justin Perez13-Aug-07 5:17
Justin Perez13-Aug-07 5:17 
AnswerRe: How to dump more than one row from table into the array !!!! please Help Pin
bit_cmdr13-Aug-07 6:50
bit_cmdr13-Aug-07 6:50 
QuestionDays of the week Pin
kibromg13-Aug-07 4:25
kibromg13-Aug-07 4:25 
AnswerRe: Days of the week Pin
Justin Perez13-Aug-07 4:32
Justin Perez13-Aug-07 4:32 
GeneralRe: Days of the week Pin
kibromg13-Aug-07 4:44
kibromg13-Aug-07 4:44 
GeneralRe: Days of the week Pin
J4amieC13-Aug-07 4:49
J4amieC13-Aug-07 4:49 
GeneralRe: Days of the week Pin
kibromg13-Aug-07 4:54
kibromg13-Aug-07 4:54 
GeneralRe: Days of the week Pin
leppie13-Aug-07 5:11
leppie13-Aug-07 5:11 
GeneralRe: Days of the week Pin
Justin Perez13-Aug-07 4:52
Justin Perez13-Aug-07 4:52 
GeneralRe: Days of the week Pin
kibromg13-Aug-07 5:06
kibromg13-Aug-07 5:06 
GeneralRe: Days of the week Pin
Justin Perez13-Aug-07 5:10
Justin Perez13-Aug-07 5:10 
GeneralRe: Days of the week Pin
kibromg13-Aug-07 5:18
kibromg13-Aug-07 5:18 
GeneralRe: Days of the week Pin
Justin Perez13-Aug-07 5:20
Justin Perez13-Aug-07 5:20 
AnswerRe: Days of the week Pin
Michael Potter13-Aug-07 4:57
Michael Potter13-Aug-07 4:57 
Questionhow I can get non-english letters from e-mail? Pin
Tsvi Girsh13-Aug-07 3:39
Tsvi Girsh13-Aug-07 3:39 
AnswerRe: how I can get non-english letters from e-mail? Pin
m@u13-Aug-07 6:57
m@u13-Aug-07 6:57 
GeneralRe: how I can get non-english letters from e-mail? Pin
Michael Sync13-Aug-07 16:12
Michael Sync13-Aug-07 16:12 

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.