 |
|
 |
i want code to compare between a num. in (label) got from db & a fixed num
if there are equal show a button else donothing
plz help me if u can
|
|
|
|
 |
|
 |
Why don't you use ExecuteNonQuery and ExecuteScalar and on the SP-methods?
|
|
|
|
 |
|
 |
hi ... i can't extract zip files ...i used WinRAR 3.0 Final ...
|
|
|
|
 |
|
 |
okay now ziped problem had been solved
wael amer
|
|
|
|
 |
|
 |
If you try any server name other than (local), it won't work ... because the contents of this textbox aren't used anywhere. I fixed it by adding one line in the method SelectDBctrl.Controls_TextChanged(), assigning the contents of the textbox to the _ServerInfo object. See middle line below:
}
}
_ServerInfo.ServerName=txtServerName.Text;
}
pnlDB.Enabled=false;
Jordan
-- modified at 11:18 Thursday 27th October, 2005
|
|
|
|
 |
|
 |
Thanks for mentioning this minor bug .
but to solve it add the following 3 lines
_ServerInfo.ServerName=txtServerName.Text;
comboDatabases.DataSource=null;
comboDatabases.Items.Clear();
in the method comboDatabases_DropDown(...) before _ServerInfo.UserName=txtUserName.Text;
The method will became : -
private void comboDatabases_DropDown(object sender, System.EventArgs e)
{
if(txtServerName.Text!=_ServerInfo.ServerName || txtPassword.Text!=_ServerInfo.Password || txtUserName.Text!=_ServerInfo.UserName)
{
_ServerInfo.ServerName=txtServerName.Text;
comboDatabases.DataSource=null;
comboDatabases.Items.Clear();
_ServerInfo.UserName=txtUserName.Text;
_ServerInfo.Password=txtPassword.Text;
FillComboDatabases();
}
}
|
|
|
|
 |
|
 |
thanks a lot guy's that what realy we want bugs and aidea thanks a lot
i hope more bugs and solving it and more aidea that we could add and make our tool become best
wael amer
|
|
|
|
 |
|
 |
And if you have a connection string with a backslash in it, it will help to make DB.ConnectionString a literal string with "@" in DBTemplate.txt, thus:
public static string ConnectionString=@"[@connectionstring@]";
|
|
|
|
 |
|
 |
Thanks for your posts and your interest in our project .
Hossam El-Deen
|
|
|
|
 |
|
 |
thank you we wait the next bug
and suggest's send me ur aidea about the next version too okay
i'll be wait for ur aidea
wael amer
|
|
|
|
 |
|
 |
Why not using a typed DataSet ?
|
|
|
|
 |
|
 |
No we haven't heared about it because it's in the introduction of ADO.NET .
In our project we focused on the Engine and the generated Framework because it's the base.Strongly Typed DataSet can be provided as an option in the next version
|
|
|
|
 |
|
 |
And OR/M will do more simple (and better) your DAL and BUS too.
Cheers
-- modified at 9:04 Monday 24th October, 2005
|
|
|
|
 |
|
 |
Thanks for your reply but what is OR/M ?
|
|
|
|
 |
|
 |
Its Object-to-RelationalDB-mapping. (O/R mapping).
|
|
|
|
 |
|
 |
Yes, and some OR/M create and execute sql statements without developer hand-coding. Try nHibernate, Retina.NET. (use google :P)
|
|
|
|
 |
|
 |
Cannot extract either source or demo
JB
|
|
|
|
 |
|
 |
it's worked try to unzip it with winrar
it's ziped with winrar not winzip
Sorry for this error
wael amer
|
|
|
|
 |
|
 |
Hmm, tried it with winrar originally and XP zip.
Doesnt work for me with winrar 3.20.
Tried it with later version of winzip and it worked, interesting, might have to upgrade winrar.
Thanks
|
|
|
|
 |