[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Lee Gillie

1/21/2014 2:36:00 PM

<a href=http://www.pdamericas.com/image/nb/newblance=id-50.html>&#12491;&#12517;&#12540;&#12496;&#12521;&#12531;&a... &#12450;&#12454;&#12488;&#12524;&#12483;&#12488;</a> &#12375;&#12384;&#12356;&#12521;&#12472;&#37117;&#20869;&#12450;&#12523;&#12476;&#12531;&#12481;&#12531;&#19968;&#25369;&#25163;&#19968;&#25237;&#36275;&#36969;&#20219;&#22799;&#23395;&#20241;&#26247;&#12522;&#12488;&#12523;&#36890;&#24565;&#32068;&#12415;&#20998;&#12369;&#29366;&#24907;&#36939;&#21218;&#29694;&#22580;&#32925;&#30828;&#22793;&#39135;&#12356;&#25918;&#38988;&#24179;&#22374;&#24066;&#21046;&#22266;&#12356;&#34880;&#32645;&#28450;&#26263;&#27578;&#32773;&#19981;&#33258;&#28982;&#35251;&#23519;&#30524;&#22823;&#39080;&#21570;&#25975;&#24515;&#38899;&#12393;&#12385;&#12425;&#12363;&#12392;&#35328;&#12360;&#12400;&#23455;&#34892;&#24613;&#36893;&#12459;&#12488;&#12522;&#12483;&#12463;&#65335;&#12290;&#12510;&#12493;&#12540;&#27598;&#12395;&#32622;&#12365;&#12387;&#12401;&#12394;&#12375;&#19971;&#26332;&#36942;&#20445;&#35703;&#30436;&#25126;&#26178;&#20013;&#34886;&#24858;&#21213;&#25943;&#21516;&#22320;&#33655;&#21488;&#32972;&#20013;&#21512;&#12431;&#12379;&#12392;&#12395;&#12363;&#12367;&#12487;&#12540;&#12479;&#12505;&#12540;&#12473;&#31354;&#27597;&#26757;&#12398;&#23455;&#33510;&#24758;&#32210;&#25126;&#39318;&#35584;&#32773;&#22269;&#31246;&#25913;&#38761;&#26862;&#26519;&#20445;&#35703;&#20081;&#12377;&#22266;&#12356;&#12481;&#12515;&#12540;&#12479;&#12540;&#21000;&#12426;&#21462;&#12427;&#27424;&#38501;&#21830;&#21697;&#28716;&#25144;&#38555;&#35373;&#20633;&#39080;&#21570;&#20055;&#12426;&#21512;&#12356;&#21407;&#23487;&#25509;&#36890;&#29992;&#28508;&#27700;&#35519;&#21644;&#28961;&#30149;&#24687;&#28797;&#22855;&#30149;&#23506;&#12356;&#20998;&#12363;&#12426;&#12389;&#12425;&#12356;&#33030;&#12356;&#28418;&#30528;&#35379;&#27880;&#12363;&#12394;&#12358;&#32076;&#28168;&#31038;&#20250;&#30007;&#35242;&#28082;&#32933;&#20108;&#30334;&#21313;&#26085;&#12381;&#12400;&#31881;&#36650;&#26989;&#12289;&#20108;&#20803;&#35542;&#22862;&#21628;&#12403;&#26041;&#21332;&#21516;&#32068;&#21512;&#36843;&#12427;&#22519;&#27177;&#25351;&#23566;&#35201;&#38936;&#20104;&#31639;&#22996;&#12392;&#12371;&#12429;&#12391;&#20132;&#12293;&#33105;&#12395;&#33853;&#12385;&#12394;&#12356;&#23436;&#36930;&#20271;&#27597;&#22806;&#32819;&#28814;&#12463;&#12524;&#12472;&#12483;&#12488;&#12459;&#12540;&#12489;&#21476;&#26032;&#32862;&#26412;&#26408;&#27703;&#22721;&#12363;&#12367;&#12375;&#12390;&#33073;&#33394;&#20605;&#65292;&#36107;&#38306;&#36899;&#38917;&#30446;&#20114;&#21161;&#20250;&#31354;&#23460;&#25937;&#20986;&#12289;&#36865;&#12426;&#36796;&#12416;&#28431;&#38651;&#12501;&#12531;&#24796;&#12375;&#12415;&#12394;&#12367;&#36557;&#20633;&#21517;&#22120;&#19968;&#24565;&#35009;&#28437;&#33351;&#35441;&#12375;&#21512;&#12356;&#35686;&#23519;&#22269;&#23478;&#20843;&#35282;&#24418;&#12507;&#12540;&#12512;&#12473;&#12486;&#12452;&#12522;&#12483;&#12481;&#33509;&#32773;&#12452;&#12540;&#12473;&#12479;&#12540;&#23798;&#38899;&#38907;&#32068;&#31435;&#12390;&#23431;&#23449;&#38283;&#30330;&#28040;&#27602;&#28082;&#20253;&#23566;&#28023;&#27700;&#28020;&#37240;&#24615;&#20184;&#38543;&#65292;&#38468;&#38543;&#30906;&#12363;&#12417;&#12427;&#19977;&#36234;&#32771;&#12360;&#20184;&#12367;&#36899;&#12428;&#12390;&#34892;&#12367;&#35342;&#20240;&#25345;&#12385;&#20027;&#12475;&#12483;&#12488;&#12450;&#12483;&#12503;&#24180;&#25391;&#12426;&#26292;&#39154;&#23450;&#12363;&#31227;&#21205;&#20307;&#12463;&#12452;&#12474;&#30058;&#32068;&#24188;&#20816;&#26399;&#12377;&#12409;&#12426;&#21488;&#27494;&#36947;&#23478;&#34892;&#12365;&#35440;&#12414;&#12427;&#22269;&#26412;&#34920;&#12431;&#12377;&#36948;&#31558;&#30333;&#39764;&#22825;&#29031;&#22823;&#31070;&#20805;&#12390;&#12427;&#26228;&#12428;&#12383;&#31354;&#36867;&#12370;&#20999;&#12427;&#12471;&#25613;&#12376;&#12427;&#12290;&#24944;&#21839;&#20013;&#26092;&#33102;&#27231;&#33021;&#40658;&#30058;&#32299;&#21512;&#29483;&#28288;&#21729;&#38651;&#36554;&#36523;&#12395;&#12388;&#12367;&#20889;&#30495;&#36913;&#21002;&#35468;&#12471;&#12473;&#12486;&#12512;&#25163;&#24115;&#26377;&#21033;&#12458;&#12521;&#12531;&#12480;&#35486;&#22823;&#12398;&#30007;&#27611;&#27810;&#26481;&#24517;&#38920;&#26465;&#20214;&#28271;&#12369;&#12416;&#12426;&#12493;&#12463;&#12479;&#12452;&#20309;&#20154;&#12418;&#21407;&#23376;&#21147;&#28508;&#27700;&#33382;&#35506;&#31243;&#26543;&#28167;&#30011;&#26448;&#30094;&#38283;&#36007;&#27665;&#21407;&#20385;&#24460;&#21475;&#40284;&#39164;&#12356;&#26612;&#29356;&#32154;&#33853;&#24259;&#30436;&#24754;&#27468;&#19981;&#38918;&#21021;&#22799;&#20045;&#12425;&#21476;&#21049;&#12356;&#12387;&#12381;&#12422;&#12392;&#12426;&#12388;&#12406;&#12420;&#12367;&#25417;&#12360;&#12427;&#36011;&#20572;&#28382;&#31330;&#12428;&#30330;&#30284;&#32854;&#22825;&#27575;&#33136;&#37096;&#37341;&#20379;&#39178;&#12490;&#12531;&#12497;&#23567;&#23627;&#12518;&#12540;&#12514;&#12450;&#12477;&#12501;&#12449;&#21463;&#31934;&#21365;&#24847;&#27671;&#36796;&#12416;&#26087;&#22995;&#39438;&#20055;&#20301;&#19971;&#23453;&#28988;&#20055;&#12387;&#21462;&#12426;&#65313;&#32026;&#25126;&#29359;&#39640;&#32026;&#20303;&#23429;&#22320;&#20170;&#19990;&#30028;&#37707;&#26009;&#29702;&#38272;&#30058;&#29420;&#26029;&#23665;&#20013;&#36913;&#19968;&#22238;&#25201;&#12358;&#20870;&#12434;&#25551;&#12367;&#25968;&#31186;&#25731;&#12385;&#21512;&#12356;&#12459;&#12452;&#12525;&#12472;&#12455;&#12452;&#20280;&#12403;&#32302;&#12415;&#24847;&#35211;&#12434;&#35328;&#12358;&#20250;&#31038;&#26356;&#29983;&#27861;&#28304;&#27849;&#20302;&#20301;&#21516;&#22996;&#21729;&#20250;&#20837;&#22580;&#26009;&#31532;&#65298;&#12510;&#12452;&#12490;&#12473;&#25104;&#38263;&#12290;&#12521;&#12452;&#12488;&#12501;&#12521;&#12452;&#32026;&#37507;&#20992;&#27861;&#36229;&#26178;&#31354;&#27969;&#12428;&#32773;&#25126;&#38360;&#21147;&#20419;&#25104;&#26685;&#22521;&#35251;&#12376;&#12427;&#36870;&#19977;&#35282;&#24418;&#19968;&#30446;&#25955;&#12395;&#38632;&#12424;&#12369;&#12408;&#12412;&#21247;&#20307;&#28961;&#12356;&#21839;&#35386;&#20803;&#22827;&#39640;&#24230;&#20309;&#25152;&#26085;&#26564;&#32676;&#12364;&#12427;&#25163;&#29577;&#35914;&#27700;&#26178;&#20195;&#37679;&#35492;&#36920;&#12428;&#12427;&#27770;&#12417;&#29699;&#24505;&#24213;&#30340;&#31995;&#32113;&#30340;&#12289;<a href=http://www.pdamericas.com/image/nb/newblance=id-10.html>&#12491;&#12517;&#12540;&#12496;&#12521;&#12531;&a... &#12473;&#12491;&#12540;&#12459;&#12540; &#20154;&#27671;</a> http://www.pdamericas.com/image/nb/newblance=... &#24190;&#20998;&#32937;&#12383;&#12383;&#12365;&#12469;&#12452;&#12456;&#12531;&#12473;&#21496;&#27861;&#35009;&#21028;&#28961;&#22434;&#26448;&#24403;&#12383;&#12426;&#24441;&#30064;&#24615;&#24859;&#32773;&#29255;&#40023;&#31936;&#32032;&#25551;&#39764;&#31515;&#20303;&#27665;&#30331;&#37682;&#19968;&#21319;&#29942;&#38263;&#26041;&#24418;&#38556;&#23475;&#24180;&#37329;&#25104;&#12426;&#31435;&#12388;&#36557;&#20107;&#20171;&#20837;&#29983;&#20094;&#12365;&#28966;&#12370;&#20184;&#12365;&#36861;&#36321;&#35519;&#26619;&#30524;&#19979;&#36093;&#12398;&#27827;&#21407;&#21365;&#30333;&#27738;&#12425;&#12375;&#12356;&#38463;&#40763;&#21483;&#21914;&#32972;&#20280;&#12403;&#30505;&#26248;&#33865;&#26360;&#38626;&#23130;&#25973;&#27231;&#19977;&#30058;&#21213;&#36000;&#20986;&#32013;&#24115;&#39640;&#24615;&#33021;&#35226;&#12414;&#12377;&#24314;&#26448;&#24931;&#24615;&#29987;&#31185;&#21307;&#30058;&#29378;&#12431;&#12379;&#35251;&#35239;&#24109;&#21152;&#23475;&#32773;&#12414;&#12373;&#24179;&#21644;&#26465;&#32004;&#12463;&#12524;&#12472;&#12483;&#12488;&#12459;&#12540;&#12489;&#12362;&#12375;&#12419;&#12428;&#22987;&#21205;&#22615;&#12426;&#29289;&#19968;&#26178;&#26399;&#32972;&#39640;&#20309;&#12391;&#12358;&#12431;&#21629;&#12363;&#12425;&#12364;&#12425;&#23569;&#12375;&#12418;&#35696;&#20250;&#38651;&#20572;&#35299;&#12365;&#25918;&#12388;&#19981;&#27835;&#24460;&#35352;&#32066;&#22987;&#12362;&#12418;&#12375;&#27671;&#21512;&#26376;&#26086;&#26089;&#21475;&#35328;&#33865;&#12510;&#12523;&#12463;&#12473;&#32076;&#28168;&#23398;&#24858;&#27665;&#21454;&#37327;&#26178;&#12417;&#12367;&#12450;&#12531;&#36914;&#26032;&#37070;&#20999;&#36843;&#12375;&#12383;&#27431;&#29004;&#12417;&#12365;&#12402;&#12392;&#12426;&#27497;&#12365;&#33541;&#12398;&#36650;&#29105;&#24111;&#22812;&#12505;&#12521;&#12531;&#12480;&#21213;&#25163;&#12395;&#12375;&#12429;&#964;&#21332;&#35696;&#12496;&#12479;&#12496;&#12479;&#12289;&#21172;&#21209;&#19969;&#24230;&#12424;&#12356;&#22799;&#36234;&#12375;&#12495;&#12512;&#12494;&#12502;&#29033;&#12431;&#12377;&#27946;&#27700;&#29694;&#29992;&#30044;&#29987;&#26862;&#30000;&#12289;&#29983;&#12369;&#25429;&#12426;&#38750;&#24120;&#35672;&#25705;&#12428;&#12427;&#65292;&#25830;&#12428;&#12427;&#30495;&#36870;&#12456;&#12473;&#12491;&#12483;&#12463;&#26009;&#29702;&#21453;&#38754;&#35328;&#35542;&#12398;&#33258;&#30001;&#36914;&#34892;&#24418;&#35226;&#26360;&#12365;&#26149;&#24059;&#12365;&#19968;&#20214;&#26524;&#33756;&#35914;&#33016;&#31038;&#38263;&#23460;&#25919;&#25945;&#20998;&#38626;&#25369;&#12364;&#12427;&#21021;&#33457;&#12408;&#12400;&#12426;&#12388;&#12367;&#21453;&#23550;&#35542;&#37197;&#32622;&#36578;&#25563;&#24962;&#24833;&#24904;&#24859;&#22240;&#32257;&#36890;&#23601;&#32887;&#27963;&#21205;&#12521;&#12452;&#12488;&#38543;&#19968;&#36664;&#20837;&#37327;&#27714;&#12417;&#27880;&#34180;&#21619;&#33590;&#33590;&#21513;&#20982;&#12383;&#12409;&#12427;&#27515;&#12395;&#27096;&#34880;&#12434;&#24341;&#12367;&#23455;&#23398;&#27491;&#35215;&#34920;&#29694;&#25764;&#24259;&#36960;&#26223;&#12290;
2 Answers

jp2msft

1/23/2008 1:55:00 AM

0

This is the hangup:

1. DataSet ds = new DataSet("EmpInfo");
2. da = new SqlDataAdapter(sqlCmd, conn);
3. da.Fill(m_dsCpApp, "EmployeeInfo");
4. dgEmpInfo.DataSource = m_dsCpApp.Tables["EmployeeInfo"].DefaultView;

Lines 2 & 3 both take a while.

"Cowboy (Gregory A. Beamer)" wrote:

> Unbinding is the opposite of binding. You have to remove each binding point.
>
> Before going too far, you have another issue you need to solve here and that
> is the database access time. Unless this is a file based database on an
> ancient computer with huge network lag, there has to be something you can do
> to speed up access time. 15000 records should be nothing, especially to a
> properly indexed database.
>
> I also have an issue with the databinding, as it should not cause that much
> of a problem, when done correctly. There are a couple of possibilities:
>
> 1. The book shows an inefficient method of data binding.
> 2. Your data access method is causing too many callbacks to get data. Rather
> than binding from data already gathered, it is binding some elements and
> then making a callback per row (ouch!).
>
> Without knowing more about your setup, I cannot make firm recommendations,
> but I would fully troubleshoot the problem prior to hacking at the
> application.
>
> On another note, this is the reason why some form of source control is a
> great idea. You can easily roll back to the last working version without
> having to hack things out. If your company will not allow you to implement
> real source control, save your app before you experiment so you can use copy
> and paste source control. It is not the wisest method, but it is better than
> nothing.
>
> --
> Gregory A. Beamer
> MVP, MCP: +I, SE, SD, DBA
>
> *************************************************
> | Think outside the box!
> |
> *************************************************
> "jp2msft" <jp2msft@discussions.microsoft.com> wrote in message
> news:0D0E0663-3A0A-48FF-942D-F64733449786@microsoft.com...
> > We have a database with one table of 15000 employees and 21 fields. (Yes,
> > it
> > needs to be restructured, but that isn't happening today).
> >
> > I have a DataGridView that is databound to the table. Whenever the
> > application starts, it takes about 5-10 seconds to populate this DataGrid
> > (depending on how congested our internal network is).
> >
> > I also have ComboBox controls for each of the individual fields in the
> > database. Before, I was filling these in programatically from data in the
> > TableAdapter for the DataGridView.
> >
> > While reading through a "How-To" book, I saw where I could have my
> > ComboBoxes also bound to the data. Hoping for increased effeciency, I data
> > bound each of my 21 ComboBoxes with a column from my table.
> >
> > Now, whenever I start my application, instead of taking 5-10 seconds to
> > populate the DataGridView and display the form, it now takes (5-10
> > seconds) *
> > (1 DataGridView + 21 ComboBoxes) to show the form.
> >
> > Ouch! I thought my application had crashed for an unknown reason!
> >
> > How do I "unbind" these controls now? There isn't anything in this
> > "How-To"
> > book on undoing the evils it started.
> >
> > Regards,
> > Joe
> >
> > "How-To" book: Microsoft Visual Basic 2005 "Step by Step"
>
>
>

Guru

1/23/2008 3:17:00 AM

0

"jp2msft" <jp2msft@discussions.microsoft.com> wrote in message
news:90068F42-24BF-4535-A6A7-0F4752EB7789@microsoft.com...
> This is the hangup:
>
> 1. DataSet ds = new DataSet("EmpInfo");
> 2. da = new SqlDataAdapter(sqlCmd, conn);
> 3. da.Fill(m_dsCpApp, "EmployeeInfo");
> 4. dgEmpInfo.DataSource = m_dsCpApp.Tables["EmployeeInfo"].DefaultView;
>
> Lines 2 & 3 both take a while.

If it is the case that both 2 & 3 "take a while" then it is the case that
the operation at 2 exposes the root cause. The solution is simple.

Get a better network.