|
you have to built a classes for database management and its operation and separate
it with business logic.
for example built a general function for passing procedure in database operation class
and pass procedure from business logic class.
|
|
|
|
|
Hi all,
Can anyone help me on this,I am totally new to Multi-tenant data architecture.Please help me out with a step by step procedure.
Thanks,
Zaki.
modified on Tuesday, February 17, 2009 11:08 PM
|
|
|
|
|
1 - tell your client you're not up for the job
2 - return their deposit, and accept the black mark on your rentacoder record
3 - buy a book and read it
4 - try to learn the basics before you jump off the deep end.
There's a reason that real programmers get paid a lot. It's that you can't learn how to do it in five minutes, or learn how to do commercial work by asking a question on a forum.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi Graus,
I believe you need to go the basics of answering the questions before you reply anyone this is not the way you reply to a question on a forum.
I can help you in learning the basics of speaking,reply me if you need it.If you don't know the answer you can shut up and.....
|
|
|
|
|
Christian is one of the most respected persons in this community. He definetly have a lot of knowledge that we can all learn from.
|
|
|
|
|
zaki55 wrote: I can help you in learning the basics of speaking,reply me if you need it
You are an ignorant clown. I know how to answer questions, you just need to show signs of asking them in a way that doesn't imply you're incompetent and hoping for someone to earn your paycheck for you,
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Thanks for your advice but no thanks, Mr.soud said me that you are a respected person and has knowledge about many things.But you are a over confident person.I was feeling guilty of my reply but after receiving your second mail still stick to my words.Keep looking at this post i will post with example on the topic i asked here.
|
|
|
|
|
Maybe this will help : MSDN[^]
|
|
|
|
|
Thanks Bassam,
Thanks for your reply, i have already gone through this MSDN.Its really helpfull, I found a site where i can fine a basic example on multi-tenant architecture.
"http://www.developer.com/design/article.php/10925_3801931_1"
|
|
|
|
|
glad I was able to help
|
|
|
|
|
Hi
I am new in develoment can please any one help.
I have had menu id "Menu3" in Menu.ascx file and i have .aspx pages. Menu3 has 4 options and every option has its own sub options Here is main structure of Menu3
Report Data Operation Logout
I have two categories of users Admins and non Admins. I don't want to show "Operation" to non-admins. I need to decide at login time.I had saved admin flag in Session (user is admin or not)
but how can i disable "operation" if flag is false in .aspx page_load event.
I already include Menu.ascx in aspx pages.
I am using VS2008.
thanks
|
|
|
|
|
Im sorry, but your question is no more or less urgent than anyone else's. Its generally considered rude to expect your question to be answered "Urgently".
As for your question, the answer really depends on how you identify Admins/Non-Admins in your application. For example, in my application I use the built-in ASP.NET role-based security, and so In a control, I could do something like
if(!Page.User.IsInRole("Administrators"))
{
}
|
|
|
|
|
I believe that something like this would help you:
In the menu.ascs file's Load Event the following code would work to disable that menu item
if (Session["IsAdmin"] == false)
{
this.Menu1.Items[2].Enabled = false;
}
This is the way that I came up with to accomplish this task. You could also generate the menu at runtime and if the user is an not an admin just don't create the Operation menu.
|
|
|
|
|
Member 2842468 wrote: I am new in develoment
Someone who is 'new to development' should not be written commercial code and sure as hell should not be writing permissions systems. The people paying you a pittance are going to get exactly the system they deserve, but when reality sets in, you will be out of a job unless you do some work to build a basic skillset.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
how to resize the gridview header in runtime?
send me usefull URL's.
Chandhu
|
|
|
|
|
Google[^]
The word "politics" describes the process so well: "Poli" in Latin meaning "many" and "tics" meaning "bloodsucking creatures."
जय हिंद
|
|
|
|
|
hi , help me in executing a procedure with out parameters ,i have tried like this , i need to declare a out put parameter.
declare @para_ok numeric(5,0)
exec dbo.procname 59171, @para_ok output
private void GenerateCSVFile()
{
int intStatus = -1;
for (i = 1; i < ddlDraw.Items.Count; i++)
{
OdbcCommand oCmd = new OdbcCommand("{"+ intStatus +"=call procname (" + ddlDraw.Items[i].Text + ")}", conn);
oCmd.CommandType = CommandType.StoredProcedure;
try
{
conn.Open();
oCmd.ExecuteNonQuery();
}
catch
{
valSuccessMsg.ErrorMessage = "File is not generated.";
valSuccessMsg.IsValid = false;
}
finally
{
valSuccessMsg.ErrorMessage = "File is generated successfully for STT Game.";
valSuccessMsg.IsValid = false;
conn.Close();
}
}
}
|
|
|
|
|
Hi,
i'm just guessing, but what if you try to use it like a query?
... new OdbcCommand("Call Proc...
// remove this line - oCmd.CommandType = CommandType.StoredProcedure;
OdbcDataReader dbReader = oCmd.ExecuteReader();
// access the first row and first column to get the result
if you run the command within ISQL you got the result displayed like a table, or not?
Regards
Sebastian
P.S.: Next time you should post this to the General Database forum!
|
|
|
|
|
Dear Expert,
My website worked fine on local machine but throw an exception when running on hosting. Please look at following exception.
Some infomations about my site:
- Asp.net 2.0.
- Used Eucalypto open source, dll file (NHibernate).
- MsSql 2005.
Any help is appreciate!
Exception here:
NHibernate.MappingException: Could not compile the mapping document: Eucalypto.Forum.Message.hbm.xml.
System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.ReflectionPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Thanks,
Nhan
|
|
|
|
|
Try setting the trust level[^] to FULL. If that is not working, I believe you need to contact the hosting provider.
|
|
|
|
|
Thanks Navaneeth, thank you for your replying quickly.
I tried to set trust level to FULL but it was not work. And I contacted with the hosting provider, the problem was solved .
Nhan
|
|
|
|
|
all the permission has been set in containing folder?
Anshuman Singh
|
|
|
|
|
please use
<trust> level="[Full]"
originUrl="URL"
processRequestInApplicationTrust = "[True]"
/>
Anshuman Singh
|
|
|
|
|
Hi,
Is there any way to fill datatable with value form a repeater?
thanks in advance
|
|
|
|
|
What is the data source for repeater? You can iterate it and add rows to a DataTable.
|
|
|
|