|
Not understandable.Be more specific it'll help us to answer.
Cheers!!
Brij
|
|
|
|
|
thanks for response ,
actullay i have to manage beckend database using frontend interface as user can insert, Update and delete table record using frontend easily .
here my question is that may i use Gridview control for such operations to perform easily ?
or any other control which may help me in this regard.
best Regards
Rameez
|
|
|
|
|
rameez Raja wrote: actullay i have to manage beckend database using frontend interface as user can insert, Update and delete table record using frontend easily .
Something like to manage your tables and data? If yes, for displaying data you can use GridView/DataGrid.
|
|
|
|
|
Gridview is better option
Cheers!!
Brij
|
|
|
|
|
hi,
here i am using following code to show message from server side,
result = System.Windows.Forms.MessageBox.Show("Massage detail", "MSG Title", System.Windows.Forms.MessageBoxButtons.OKCancel);
if (result == System.Windows.Forms.DialogResult.OK)
{
Response.Write("OK");
}
else { Response.Write("Cancel"); }
it works on the local host but when web host on the server it will retun error, and also try by putting system.windows.forms DLL in bin folder but not working.
if any one have solution then plz help.
-jay
modified on Monday, December 29, 2008 2:24 AM
|
|
|
|
|
why don't you use javascript confirmbox?
Cheers!!
Brij
|
|
|
|
|
Why windows message box in a web application? You can't use that. JS is the only way to show a message box in web applications.
|
|
|
|
|
i can use ajax or JS but if i am going to modify than i have to change in several place, so if it is possible with this then plz help me any one.
-JAY
|
|
|
|
|
How to extract(or filter data) from Access Database using multiple dropdown
lists or you can say dynamic dropdown lists or either parent child DDL.
I want three DDL and on search button, user select from list one and second and third list automatically change, when user press search button,result will be shown what was selected in all three DDL.
Anyone can help ?
note I dont want ajax because my server does not support it
regards
|
|
|
|
|
Do you have problem in getrting data fromn the access database?Or you want help in filling the data in the asp.net dropdownlist.Can you elaborate?
Cheers!!
Brij
|
|
|
|
|
First bind the dropdowns with the desired dataset and kmake a key common to all.
on selected index changes event filter the second and third ddl.
Eg If you have country,state and city as dropdowns. Bind first with country id and country name, second with state id and statename and city id and city name. Country Id helps to filter the second table taht binds to state dropdown and countryid and stateid will help you to filter the third ddl.
Regards,
Suyash
|
|
|
|
|
Hi,
Can any one help me t0 change the focus of the control to the next control when pressing the Enter key
Thanks
modified on Saturday, December 27, 2008 6:31 AM
|
|
|
|
|
If you want to click on a button on pressing the enter key,the set the button as Defaultbutton of the page.
Cheers!!
Brij
|
|
|
|
|
Hi,
Thanks for your reply.
For eg I am having some 4 textbox and i type some content in first textbox and i have to set focus for the second textbox by pressing the enter key
Regards,
sbua
|
|
|
|
|
|
in asp.net how to create a dll file
|
|
|
|
|
Put the proper heading in subject tag.
For creating the dll,you need to create the classlibrary type project then build it.and you will get the dll in debug folder.Then add this dll as referance where you want.
Cheers!!
Brij
|
|
|
|
|
Drij wrote: Subject: hi
Give Proper Subject while posting in this forum. and this has been notified you multiple times.
cheers,
Abhijit
|
|
|
|
|
Hi,
My requirement is Assuming you have a button called ‘Select’ in your GridView with CommandName ‘Select’, to find out the row clicked and display the row’s details. Can anyone please suggest me. Provide some code. Thanks in advance.
|
|
|
|
|
Just get the Row data in a GridViewRow Class Object and access the details from there !!
Reference[^]Check Example of GridViewRow object Section.
cheers,
Abhijit
|
|
|
|
|
|
Hi all,
I am developing a project in asp.net.
After the user login i want to provide authorization .
The resources/access rights are stored in sql server which maps to group/user .please suggest how do i proceed..
Authorization is required at the menus and also it must able protect the user from directly opening the pages by typing in the url.
Thxs in advance
|
|
|
|
|
Hi,
tejesh123 wrote: The resources/access rights are stored in sql server which maps to group/user
Create session variables each for every right (like bit 1 for authorized and 0 for not). After login check for those in database and according to that set the session variables.
tejesh123 wrote: Authorization is required at the menus
Check for those variables while loading menu, if true then show link and otherwise.
tejesh123 wrote: also it must able protect the user from directly opening the pages by typing in the url.
At !PostBack, check if session variables have values or not and at not, redirect to Home Page.
note: create all variables in one .cs page and render that whole page as Session (eg. SessionVariables sp = new SessionVariables(); sp = session["SessionVariables"]; where session["SessionVariables"] is created in previous page like session["SessionVariables"] = sp; )
Hope this helps!!!
Anand Desai
Developer
Atharva Infotech
|
|
|
|
|
Still confused..
After i retrive the resources from sql server in string array,i need to copy it in session then i need to check whether the resources matches the arrtribute tag for the page..if yes provide the access if no otherwise
but how do i at menu level(Navigation) & if any alternate mechanism at the page level
Please provide a sample code
|
|
|
|
|
Instead using .NET server control for menu, use JavaScript for menu creation. It will ease checking an also provide better design with explicit css than in-built tamplets.
Anand Desai
Developer
Atharva Infotech
|
|
|
|