|
no data is shown in datagrid view as u saved so it can done with the help of cr report to make a group of columns ok byeeeee
lucky
|
|
|
|
|
I have 2 questions in regards to the best practices for creating an "Admin" section of a content management system:
1) For security purposes, should the "Administration" section be an entirely separate web project that simply connects to the same sql server database, or is it safe enough to simply create an additional admin folder in my current web project?
2) What's the best practice for storing admin logins in the database? Should they be stored in their own table or should I store them with the rest of the logins in the "aspnet_users" table and just set them up with a different membership role?
Does anyone know of a tutorial that perhaps explains the best practices in regards to this?
Thanks.
-Goalie35
|
|
|
|
|
1 - I don't see any issue with making it part of the same project.
2 - I'd expect to have one set of logins, and a system of storing roles against logins, with admin being one role. I'd probably create a base page class that all admin pages derived from, which checked if the user is an admin, and if not, redirected them from the page.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi.
From Database i m getting data in this format.
CAC PAT A 12/03/07
CAC PAT A 12/04/07
CAC PAT A 12/05/07
CMP CAT B 11/03/07
CMP CAT B 11/06/07
CMP CAT B 11/08/07
CPL AMT C 10/01/07
CPL AMT C 10/04/07
CPL AMT C 10/06/07
I want to display like that
CAC PAT A 12/03/07
12/04/07
12/05/07
CMP CAT B 11/03/07
11/06/07
11/08/07
CPL AMT C 10/01/07
10/04/07
10/06/07
How to do ?
Help me
Thanks
|
|
|
|
|
Gridview is probably the wrong control for this. A repeater is your best bet where you want more fine grained control over what is rendered, the downside being that you lose all the stuff built into the gridview.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
hi
thanks for reply.
but i m doing modification also.
so want that functionality using gridview only.
plz explain it
thanks
|
|
|
|
|
Then you've got issues. You can perhaps trick the grid view by defining columns that include table elements, but it's going to be nasty, you're opting to declare war on the control, to fight what it wants to display, and make it do something different.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi,
I have a login status which directs you to login.aspx when you want to log in.
all login.aspx contains is:
<asp:login id="Login1" runat="server" onauthenticate="Login1_Authenticate">
when i type in the correct username and password it directs back to where i first clicked login.
however login status says i am not logged in.
I guess it is something to do with my roles. When every i create a new user using web administration tool I select a role and this is correctly saved to the database (mysql).
here is my web.config file
<configuration>
<appsettings>
<connectionstrings>
<add name="connString1" connectionstring="server=MYSERVER;database=MYDATABASE;uid=MYUID;pwd=MYPWD"
="" providername="System.Data.Odbc">
<system.web>
<rolemanager defaultprovider="MySqlRoleProvider"
="" enabled="true" cacherolesincookie="true" cookiename=".ASPROLES" cookietimeout="30" cookiepath="/" cookierequiressl="false" cookieslidingexpiration="true" cookieprotection="All">
<providers>
<clear>
<add
name="MySqlRoleProvider"
="" type="Andri.Web.MySqlRoleProvider" connectionstringname="connString1" applicationname="APPNAME" writeexceptionstoeventlog="false">
<membership defaultprovider="MySqlMembershipProvider"
="" userisonlinetimewindow="15">
<providers>
<clear>
<add
name="MySqlMembershipProvider"
="" type="Andri.Web.MySqlMembershipProvider" connectionstringname="connString1" applicationname="APPNAME" enablepasswordretrieval="false" enablepasswordreset="true" requiresquestionandanswer="true" requiresuniqueemail="true" passwordformat="Hashed" writeexceptionstoeventlog="true">
<compilation debug="true">
<assemblies>
<add assembly="MySql.Data, Version=5.0.8.1, Culture=neutral, PublicKeyToken=C5687FC88969C44D">
<authentication mode="Forms">
i've been racking my brain on it for a couple of days now! and havn't gained any ground!
any ideas??
Thanks
|
|
|
|
|
oopps forgot to ignore html tags.
all login.aspx contains is:
<asp:Login ID="Login1" runat="server" OnAuthenticate="Login1_Authenticate">
cheers
|
|
|
|
|
I have the two table ,faculty table and degree table . The faculty table contains firstname,lastname and degree. The degree table contains the degree like BA,BCom,BSC etc.,
The firstname and lastname is bind in corresponding textboxes. All the degree is populated in DropDownlist and the corresponding faculty degree is selected.
For example
First Name : Monisha
LastName : Saravanan
Degree
BA
BCom
BSc
MCA
MBA
Here BSC is selected , when the page is load
Give the solution
|
|
|
|
|
What, particularly is the problem?
|
|
|
|
|
And question is??
I Love SQL
|
|
|
|
|
hey guy
just make a link like
name :- monisha qual:- bsc
then other
just make a link first
it will help u
lucky
|
|
|
|
|
Dear Sandeep..
I am having a timer(using javascript) in that .aspx page.So when i press the back button , the timer runs in a reverse manner instead of running in a normal way..In order to prevent this from happening , i need to disable the Back button of my IE.
Regards,
Balaguru
|
|
|
|
|
Any way
Check this
<script><br />
if(window.history.forward(1) != null)<br />
window.history.forward(1); <br />
</script>
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Dear Sandeep..
I tried it.But still when i press the back button,the timer runs in a reverse manner..Is there any way to disable the back button..i mean nothing should happen when it is clicked i.e the focus should be lost..Is there any way to do it in javascript...?
Regards,
Balaguru
|
|
|
|
|
Hi friends,
I am using xml file ie. mymenu.xml file to generate menus for my site.
Its working with Menu Contorl though I am using .xsl file to handle it.
I want to create Breadcrumb Navigation like home>>page1>>page1.1
from this xml file.
can any one help?
|
|
|
|
|
Hi All,
Can anyone suggest a fully .Net compliant component for converting video file formats on the fly? Specifically, I want people to be able to submit video from their cell phone (.3gp format), and then I need to programatically convert that format to other formats for display on the web, that is, AVI, MP4, MOV, WMV, MPEG, FLV, Real Video, etc.
|
|
|
|
|
Hello All,
Please any one can give me real estate site project architecture.Just give a reference site information or also send me some sample.
Please help me in this regards.
Thanks In advance.
Sujit
|
|
|
|
|
Sujit Mandal. wrote: Please any one can give me real estate site project architecture.Just give a reference site information or also send me some sample
Won't this upset your client if you produce software that is to someone else's specifications?
|
|
|
|
|
In short, it depends on the agency/group, what they want to do with the site. The most common requirement, and that of highest value, on nearly all real estate sites is the listings database and search facility. They will already have a listings database, on paper, in a spreadsheet, or a proper database. One decision is whether to replicate this to your site, or run a direct link between your database and web servers.
Nice to haves are then just a 'contact us' facility, maybe with real time notifications to the agent mandated to the property a site user is interested in.
To get a lot more serious, you could have a closed part of the site where agents can themselves capture new listings, and work with a work flow engine to help with the process of following a sale through from listing, through offer, to registration.
I do not believe they are right who say that the defects of famous men should be ignored. I think it is better that we should know them. Then, though we are conscious of having faults as glaring as theirs, we can believe that that is no hindrance to our achieving also something of their virtues. - W. Somerset Maugham
My New Blog
|
|
|
|
|
It occurs to me that this project will take several months.
The company I used to work for created a website for a real estate company. The website took several developers a good few months to develop. So, you should know that you are in for a lot of work.
|
|
|
|
|
hi friends.
i am new to this development..
i hav a textbox which accepts only numbers..
and based on the input of that text i hav to display the rows of texboxes..
for ex:
if textbox.text=3 then i have to display 3 rows of textboxes which accepts 3 members name, age etc..
help plz.
thanks
edwin
|
|
|
|
|
Check How to add TextBox at runtime then add that dynamically created Textbox to your page Google for adding textbox dynamically
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Are you using ASP.NET ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|