Click here to Skip to main content
15,898,374 members
Home / Discussions / C#
   

C#

 
GeneralRe: Resizing Gif-images that is transparent Pin
thomasa8-Aug-05 1:57
thomasa8-Aug-05 1:57 
GeneralRe: Resizing Gif-images that is transparent Pin
Guffa8-Aug-05 22:55
Guffa8-Aug-05 22:55 
GeneralRe: Resizing Gif-images that is transparent Pin
thomasa9-Aug-05 1:06
thomasa9-Aug-05 1:06 
GeneralSimple Problem Pin
tatchung13-Jul-05 22:07
tatchung13-Jul-05 22:07 
GeneralRe: Simple Problem Pin
Expert Coming14-Jul-05 8:35
Expert Coming14-Jul-05 8:35 
GeneralRe: Simple Problem Pin
tatchung14-Jul-05 15:18
tatchung14-Jul-05 15:18 
GeneralRe: Simple Problem Pin
Christian Graus14-Jul-05 15:53
protectorChristian Graus14-Jul-05 15:53 
GeneralRe: Simple Problem Pin
tatchung14-Jul-05 16:03
tatchung14-Jul-05 16:03 
oh...coz i was thinking of merging the datas 2gether into 1 main datatable then creating a buffer-like columns and rows as spaces. i mean is that possible? here's the code i tried to use:
public DataTable fMain(string strMonth,string strYear)
{
DataTable dt_emper = new DataTable();
dt_emper = objDS.fGet_employer();

DataTable dt_emp = new DataTable();
dt_emp = objDS.fGet_emp_deduct(strMonth,strYear);

//DataTable dtMain = new DataTable();
DataRow drow;

DataTable dtMain = new DataTable("dtbl");
DataColumn dcolMain = new DataColumn();

dtMain.Columns.Add("");
dtMain.Columns.Add("");
dtMain.Columns.Add("");
dtMain.Columns.Add("");
dtMain.Columns.Add("");
dtMain.Columns.Add("");
dtMain.Columns.Add("");
dtMain.Columns.Add("");
dtMain.Columns.Add("");
dtMain.Columns.Add("");
dtMain.Columns.Add("");
dtMain.Columns.Add("");
dtMain.Columns.Add("");
dtMain.Columns.Add("");

drow=dtMain.NewRow();
drow[0]=dt_emper.Rows[0][0].ToString();
drow[1]=dt_emper.Rows[0][1].ToString();
drow[2]=dt_emper.Rows[0][2].ToString();
drow[3]="";
drow[4]="";
drow[6]="";
drow[7]="";
drow[8]="";
drow[9]="";
drow[10]="";
drow[11]="";
drow[12]="";
drow[13]="";
drow[14]="";

dtMain.Rows.Add(drow);

for (int ctr=0;ctr<dt_emp.rows.count;ctr++)
{=""
="" drow[0]="dt_emper.Rows[ctr][0];
" drow[1]="dt_emper.Rows[ctr][1];
" drow[2]="dt_emper.Rows[ctr][2];
" drow[3]="dt_emper.Rows[ctr][3];
" drow[4]="dt_emper.Rows[ctr][4];
" drow[5]="dt_emper.Rows[ctr][5];
" drow[6]="dt_emper.Rows[ctr][6];
" drow[7]="dt_emper.Rows[ctr][7];
" drow[8]="dt_emper.Rows[ctr][8];
" drow[9]="dt_emper.Rows[ctr][9];
" drow[10]="dt_emper.Rows[ctr][10];
" drow[11]="dt_emper.Rows[ctr][11];
" drow[12]="dt_emper.Rows[ctr][12];
" drow[13]="dt_emper.Rows[ctr][13];
" drow[14]="dt_emper.Rows[ctr][14];
" drow[15]="dt_emper.Rows[ctr][15];

" dtmain.rows.add(drow);
="" }
="" return="" dtmain;
="" }

i've="" used="" the="" debugging="" technique="" and="" it="" stops="" before="" <code="">dtMain.Rows.Add(drow);. Is it sill possible or do I really need to have 2 grids for the 2 tables?

thanx again!
GeneralRe: Simple Problem Pin
Christian Graus14-Jul-05 16:15
protectorChristian Graus14-Jul-05 16:15 
GeneralRe: Simple Problem Pin
tatchung14-Jul-05 16:22
tatchung14-Jul-05 16:22 
QuestionWhat mistake in this Asynchronous webservice Pin
Vinkum13-Jul-05 21:33
Vinkum13-Jul-05 21:33 
GeneralSet Time Zone Information in Windows CE Pin
myanne13-Jul-05 21:29
myanne13-Jul-05 21:29 
Generalc# code Pin
manar113-Jul-05 21:28
manar113-Jul-05 21:28 
GeneralRe: c# code Pin
J4amieC13-Jul-05 22:56
J4amieC13-Jul-05 22:56 
QuestionSOAP client in Windows Service - memory leak?? Pin
teddy_bear13-Jul-05 21:06
teddy_bear13-Jul-05 21:06 
Generalcrystal report Pin
yitong13-Jul-05 20:34
yitong13-Jul-05 20:34 
GeneralRe: crystal report Pin
User 209307313-Jul-05 21:30
User 209307313-Jul-05 21:30 
GeneralConsole App Input Pin
Expert Coming13-Jul-05 20:15
Expert Coming13-Jul-05 20:15 
GeneralRe: Console App Input Pin
seee sharp13-Jul-05 22:34
seee sharp13-Jul-05 22:34 
GeneralWindows Service Pin
ksanju100013-Jul-05 20:15
ksanju100013-Jul-05 20:15 
GeneralRe: Windows Service Pin
Vasudevan Deepak Kumar14-Jul-05 5:16
Vasudevan Deepak Kumar14-Jul-05 5:16 
GeneralWindows Service in c# Pin
ksanju100013-Jul-05 20:14
ksanju100013-Jul-05 20:14 
GeneralRe: Windows Service in c# Pin
Dave Kreskowiak14-Jul-05 4:18
mveDave Kreskowiak14-Jul-05 4:18 
Generaltree view issues Pin
Anonymous13-Jul-05 17:31
Anonymous13-Jul-05 17:31 
GeneralRe: tree view issues Pin
Rob Graham13-Jul-05 17:40
Rob Graham13-Jul-05 17:40 

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.