|
hi
i have one asp.project and one reporting sever (using ssrs) i need to integrate the report manager to asp.net project...pls give me some hint
|
|
|
|
|
|
Thanks lot....
i need to manage the report server in my asp.net project.do not call the rdl only.The whole report manager i need to handle in my project .is it possible?
|
|
|
|
|
Hello,
Im writing an application based on .NET 4 framework but in my application i am using an assembley based on .NET 2 framework.
What do i need to to combine those two?
Thanks
|
|
|
|
|
You don't need to do anything. You can reference the 2.0 assembly in your project like any other assembly
No comment
|
|
|
|
|
If a .net dll is built in lower version(2.0),it can be easily used in higher version(4.0) by just referencing it.
I want to explain one more thing related to that-
But the the same dll is built in higher version(4.0), it can not used in Lower version(2.0) because .net does not support forward to backword compatibility that means upper to lower.
|
|
|
|
|
what exactly a .net can u give brief idea about it
|
|
|
|
|
This is not the place. There are lots of resources on the internet which can help you, starting here[^]. You could also take a look at .Net Book Zero[^] by Charles Petzold.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
|
Can you list all disadvantages of Code-First model in Entity Framework 4.1
Thanks
Thien
|
|
|
|
|
No I can't. I'm sure I could come up with quite a few, but whether or not I'd get them all is a different matter.
|
|
|
|
|
Having to actually think about and plan your design upfront is certainly a disadvantage for some.
No comment
|
|
|
|
|
Can you spell Google?
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
|
Hi developers.
For caching data provided by a special server file I created an EntityModel which I store in a SQL CE database. Each time the user triggers an update of the database it should get resetted completely as it never had any data stored. That includes:
- Delete all entries of all tables
- Reset all indices
- Reset all identitys (auto increments)
But I don't have any idea how to wipe all the data and reset the tables. I want to keep the current database connection running and don't create an additional file.
Does any one have an idea how to reset the whole database to a fresh state?
Greetings
Daniel
|
|
|
|
|
To clear the tables you would use either of these
DELETE FROM [table name]
TUNCATE TABLE [table name]
To reset the identity columns
DBCC CHECKIDENT([table name], RESEED, 0)
Note I'm not certain these are available with SQL CE, but it should give you a start
No comment
|
|
|
|
|
I solved it using those statements, thanks. I was just wondering if there was any more common method for that:
private bool DeleteOldData()
{
using (var transaction = BeginTransaction(_database))
{
try
{
string[] tables = { "NToMMappingTable", "Table1", "Table2", "Table3", "Table4" };
bool[] alter = { false, true, true, true, true };
for (int i = 0; i < tables.Length; i++)
{
string table = tables[i];
_database.ExecuteStoreCommand(string.Format("DELETE FROM [{0}]", table));
if (alter[i])
_database.ExecuteStoreCommand(
string.Format("ALTER TABLE [{0}] ALTER COLUMN Id IDENTITY (1,1)", table));
}
transaction.Commit();
_database.AcceptAllChanges();
success = true;
}
catch (Exception e)
{
transaction.Rollback();
throw;
}
}
}
public static DbTransaction BeginTransaction(ObjectContext context)
{
if (context.Connection.State != ConnectionState.Open)
{
context.Connection.Open();
}
return context.Connection.BeginTransaction();
}
SQL CE does not support truncate or dbcc, but delete and alter table will work.
Thanks.
|
|
|
|
|
I was wondering which are the recommended ORM's for use with Microsoft Access? Specifically Access 97 and 2010!
We currently have a shed-load of Access 97 databases and an impending Office 2010 rollout, and as budget/time won't allow for conversion to SQL Server, we thought a first step would be replacing the front-ends with .NET WinForm apps. That way we could then migrate the backend to 2010 (or SQL) at a later date.
As far as I can tell EF and Linq2SQL don't work with Access (unless someone knows otherwise!). DataSets do (or at least should, can't get 2010 to work so far), but I was wondering if there was a more featured ORM that supported Access? Ideally with a visual designer.
My initial investigations have turned up Habanero, NHibernate and nHydrate.
|
|
|
|
|
A while ago I looked for a few different tools for Access including source control and couldn't find anything to hang my hat on. So I can't answer your question.
Thing is though, if you're going to rebuild the front end you may want to consider migrating to SQL Server then using EF. At that point the only extra work, other than rebuilding the front end, is recreating the business logic.
It may not be the case here, but most Access projects have the business logic mashed into the presentation anyway. So maybe the suggestion above may actually cut development time. Also I'd go WPF, Winforms looks so stale these days.
"You get that on the big jobs."
|
|
|
|
|
I have been using EntitySpaces (http://www.entityspaces.net[^]) for a while now using SQL Server, very good tool and support is excellent.
They also have a provider for MS Access.
Tosch
|
|
|
|
|
Hi
when am sending mails from my application,its sending and receving only one domain eg: info@ab.com.
if am trying to another emailid (eg:info@xyz.com),its not working ...how can i solve this
thanx
|
|
|
|
|
shijuse wrote: ,its not working
Please clarify what this means; show some of your code and explain exactly what happens.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
|
There is no step for checking the sender of an email in the email protocol. You can just forge the headers as you like, and send an email as president@whitehouse.gov. But many email providers try to fight spam and add some checking mechanisms. I guess that that happened with your emails.
|
|
|
|
|
How are you sending the emails? through your mail server? or by using system.net.mail .
Without know how you are sending the emails its impossible to let you know why its not doing what you would like it to do.
Lobster Thermidor aux crevettes with a Mornay sauce, served in a Provençale manner with shallots and aubergines, garnished with truffle pate, brandy and a fried egg on top and Spam - Monty Python Spam Sketch
|
|
|
|
|
Hi friends. Is it possible to converting dll file to cs files.
Is there any mechanisms related to this?
|
|
|
|
|
|
just google "Reflector" or "Decompiler .net"
there r tools from telerik named just compiler ---free
but best of the best is from redgate's Reflector---trial commerical
|
|
|
|