|
ServerUtils and Utility are defined in the namespace 'HeadName.ProcessFiles: the other namespace is 'HeadName.ProcessFile.
The spelling difference is causing your problem.
"What Turing gave us for the first time (and without Turing you just couldn't do any of this) is he gave us a way of thinking about and taking seriously and thinking in a disciplined way about phenomena that have, as I like to say, trillions of moving parts.
Until the late 20th century, nobody knew how to take seriously a machine with a trillion moving parts. It's just mind-boggling." Daniel C. Dennett
|
|
|
|
|
thx alot for all replies.
|
|
|
|
|
I have this quote where I need to get float value stored in table cells of dataset and assign it to fValue.
fValue= (float) ds1.Tables[0].Rows[1].ItemArray[2]
This gives me the error "Specified cast is not valid." So I tried sth like below and it works.
fValue= 9.99f
Why is that? Should I change the data type of fValue or append 'f' to ds1.Tables[0].Rows[1].ItemArray[2] and cast (float) back? The later looks silly and doesn't work anyway.
Could someone explain that to me please?
modified 2-Dec-13 3:01am.
|
|
|
|
|
Try Convert.ToSingle() instead of a direct cast.
e.g. Convert.ToSingle(ds1.Tables[0].Rows[1].ItemArray[2])
|
|
|
|
|
Try this:
fValue=float.Parse(ds1.Tables[0].Rows[1].ItemArray[2])
|
|
|
|
|
As we know that when inner transaction will commit and outer transaction is going to rollback then outer transaction also roll back to the inner transaction means there is no own scope of inner transaction then what is use of this.
Please explain me
Thanks,
Girijesh Kumar
|
|
|
|
|
This[^] explains the use nested transactions for you.
|
|
|
|
|
Don't think of it that way.
Turn it round, and you can roll back the inner transaction, and commit the outer one.
|
|
|
|
|
Hy
Tell me anyone how can we indentify that the page is postBack?
|
|
|
|
|
Simple:
In the page Load event:
private void Page_Load()
{
if (!IsPostback)
{
}
|
|
|
|
|
|
Yes. We can identify if a page is a postback.
|
|
|
|
|
Can anyone please help me with some examples or anything useful?
Problem:
I have to create Server and client console applications in C# with Xml and .NET Remoting communication. I can get My remotable object and server side to work, however my client side won't.
The objective is to pull data from an Xml file and display it in the client console, after the client has made one of two choices.
Server activated object, singleton activation mode
|
|
|
|
|
.NET Remoting is a deprecated technology. Use WCF instead.
|
|
|
|
|
i have finished my project,now i wan to implement into my client place,my backend is sqlser2008,when installing sqlserver2008 its taking so long time to install,how to deploy the database with my application itself ,i have tried the local DB (srvice-oriented database.sdf)but its not working,i knoe i am missing some steps can you guide me for this one.,
|
|
|
|
|
If you need SQL server, then you have to install it - regardless of how long that takes: and it can be a while as it is a complex program, and needs some good google skills just to install...
The other option is (as you say) to use a local database, and SQLCE (.sdf files) is one option (there is also SqLite or even :ack!spit: Access which are fine for single user apps).
So what "isn't working" about the .SDF file solution? What is it doing that you didn't expect, or not doing that you did?
|
|
|
|
|
OriginalGriff wrote: even :ack!spit: Access which
Could almost be reported as abuse!
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
There are those who swear by it.
There are those that swear at it.
There are those that start off doing the first, and end up doing the second.
And there are those poor, deluded fools who think it can be used in multiuser...
|
|
|
|
|
OriginalGriff wrote: And there are those poor, deluded fools who think it can be used in multiuser
That was me... in the early 90s
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Me too, same period.
That was when I started swearing at it, rather than by it.
|
|
|
|
|
|
hi,
i have developed winforms application,c# .database is mysql.
how can i make the installer including my database(tables and all.)
plz help me in detail how to do
|
|
|
|
|
See this[^] SO link.
/ravi
|
|
|
|
|
|
ok, but amn't using sql server. am using mysql
|
|
|
|