|
Check this post
http://www.codeproject.com/aspnet/netimageupload.asp
keep Learning and you never will be out of date...
|
|
|
|
|
hi all,
can anyone help me in creating "webcustomcontrol" of wizard control in asp .net 2.0.
i tried but cudnt get the one i required.i always get the first page with single button "Next" on it. theres no traversal for next page.
has anyone tried doing so ?
Thanks
ShadesRulz
|
|
|
|
|
Hi friends,
Can anyone help me in finding out a suitable algorith which will create distinct cipher each time?
For example if I give Encrypt(5)and if I get value s 2
when I give next time Encrypt(5) I should not get 2, I have an application where values can be {1,2,3,4,5}, I dont want to store it plain text in DB, if I encrypt, I have to make sure by any chance one who enter into DB can compare the encrypted values and reach in conclusions, is it possible by any means to avoid it?, I should be able to decrypt also, through program, I mean encrypt with respect to time or anything?
Thanks in advance!!!
Cheers
Sony Sebastian
Nothing is Impossible
|
|
|
|
|
Dear All,
How can database schema handle the multi-user environment and Synchronizationin webservices.
Thanks
|
|
|
|
|
In my asp.net 1.1 application i have 4 ListBoxes i.e., Category1, Category2, Category3, Category4.
if u select Category1, it will finds from DB and populates in Category2 ListBox. liket this i am populating Category4.
Here Each Category is having CategoryName, CategoryID and its languageid(each category is having each languageid).
I want to avoid the DataBase Trip each time.
My question is how to cache the whole data & How to retrieve the data from cached. We can store in 4 different Sessions also. but in which format to store(it is having name, value1, value2)
How to do this? anybody give me the solution for this.
?
regards
GV Ramana
|
|
|
|
|
Ramana. G.V wrote: We can store in 4 different Sessions also. but in which format to store(it is having name, value1, value2)
Create a datatable, pump the data in that and then put that datatable in session in order to reuse it.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Or save it all on the client side (if you don't like your users) in javascript array - this way you can use script to populate the listboxes at runtime, avoiding postbacks.
|
|
|
|
|
There are a number of ways that you can attack this problem. The correct solution depends entirely on the nature of your application. Our developers usually create some sort of "Cached Items" class that manages data within a cache. If your data set isn't too large, you may want to store all of the unfiltered data in a single data set and use the DataRelation to define the relationship among the tables in the DataSet used to populate your ListBoxes. Whenever a list box is changed, use the relationships defined in your filter the data as needed and rebind the filtered data to the list boxes.
For example, you could so something like this:
intenal static DataSet Categroies<br />
{<br />
get<br />
{ <br />
DataSet data = HttpContext.Current.Session["CategoryData"] As DataSet;<br />
if(data == null)<br />
{<br />
data = <br />
HttpContext.Current.Session["CategoryData"] = data;<br />
}<br />
return data;<br />
}<br />
}<br />
<br />
internal static GetCategory2Data(string category1)<br />
{<br />
DataView category2 = Categories.Tables["Category2"].DefaultView;<br />
category2.RowFilter = string.Format("Category1 = {0}",category1);<br />
return category2;<br />
} <br />
Here data is being stored in the session. You could also use the Application or Cache object to store the data globally so long as you account for multi-threaded/multi-user access into account.
|
|
|
|
|
Y not u use ajax???
Lets work it Out.........!
|
|
|
|
|
Hi! I'm using ASP.net 2.0.Sometimes a file named App_Offline.htm gets created by itself, which displays message that application is currently offine. Any idea why it gets created automatically or how to stop this? Thanks a lot.
|
|
|
|
|
I guess this kind of things will happen
1. when your hosting server receives the more than requestlimit and size
2. when you workprocessor size limitation occurs.
|
|
|
|
|
Hi, All
I want to get Message page has expired In Asp.net.
I want to show message page has expired when clicking on Back button in
Browser.
I tried
Response.AddHeader("Expires", "Mon, 26 Jul 1997 05:00:00 GMT")
Response.AddHeader("Last-Modified", Now & " GMT")
Response.AddHeader("Cache-Control", "no-cache, must-revalidate")
Response.Cache.SetCacheability(HttpCacheability.NoCache)
But it doesn't show the message i want to display.
Thanks
|
|
|
|
|
Hi May be u should try window.history.forward(1); through javascript so that back button can not be used.
Regards
|
|
|
|
|
Hi, thanks for reply
but i just want to know, how to get that message (page has expired).
Thanks.
|
|
|
|
|
hi dear,
i have two textboxes in filled with the dates by user, now on button click i want that third textbox should filled with difference between both dates in days...
regards
vishal sharma
Thanks & Regards
Vishal Sharma
vishalsharma556@yahoo.co.in
|
|
|
|
|
This is how you can get that:
DateTime dt1 = <some date="">;
DateTime dt2 = <some other="" date="">;
TimeSpan ts = dt1 - dt2;
int days = ts.Days;
Best Regards,
Apurva Kaushal
|
|
|
|
|
Use the Substract method of the DateTime object to get the difference as a TimeSpan. The TimeSpan structure has properties that you can use to get the number of days.
---
b { font-weight: normal; }
|
|
|
|
|
How to make transparent browser windows in ASP.net?
|
|
|
|
|
Set its Opacity property.
|
|
|
|
|
Hi, Thanks for your reply. I am able to set the transparency of windows forms in C# and VB using Opacity property. But what i need is to set the opacity for the web browser windows in ASP.net. Could you please help me with this?
|
|
|
|
|
I am not sure where you would like to apply, but i am giving a sample.
this style attribute can be applied to any html element.
|
|
|
|
|
I use asp:ImageButton rather than use asp:Button as a button, so how i make the imagebutton handle the btn.click ( function of button click already done at vb code behind) in html view ?
-- modified at 5:27 Monday 18th September, 2006
-- modified at 5:28 Monday 18th September, 2006
Best regards,
Chee ken
|
|
|
|
|
Dear guys,
Can any one helps me in my case study.I will be very great full.Please take a look at following project description....
**************************************************************************
Description:
Develop a client and server application to synchronize data between one another.
Client application runs on Windows based OS XP or Server and is written in .NET 2.0/C#. Client application monitors users PIM (Outlook, Outlook Express, etc.) for changes to email, contacts, tasks and communicates any changes to server application. Additionally application monitors listing of favourites from Internet Explorer, FireFox, etc. and synchronizes with server.
Server application runs on Windows Server and is written in .NET 2.0/C#. Server application accepts requests from client application to update data from users PIM and browser and stores in MSSQL 2000 database. Communication between client/server is RSS and server uses web service to process requests.
Client application checks for changes in the server side database and updates or synchronizes local PIM and browser with what is stored on the remote database. Server application uses keep alive link from client side to communicate to client that it needs update from the client side.
Client application needs to be modular to accept future enhancements to manage other PIM applications or browsers.
The server manages several clients and runs in multi-threaded, multi-user database environment.
Please respond with your technical plans to accomplish the requirements of the application.
1. What technologies will you employ on the client and server side.
2. How will you accommodate the remote communication mechanisms.
3. What client side PIM applications will your program support? (Outlook, Outlook Express, etc?) What browsers will you support?
4. How will the database schema accommodate the multi-user environment? Changes in information on either side? and Synchronization?
5. How will both applications be designed to be bug-free, crash resistant, and recover from errors?
*************************************
I will be very great full for any response
Thanks Alot
|
|
|
|
|
Here I had a calender.I need to display it like,when we create a dropdownlist by default it shows the first item and we can select from the list.
In the same way can we create a calender for it has to give a todays date bydefault and it has to to show calender when we want select a different date.How to do this???I have no idea of calender.
my requirement is it should not give a seperate calender display.Try to solve this,Thanks in advance.
|
|
|
|
|
Here i am giving an example,how i need to display my data
Sippose the following are my editing columns in a webpage,
DateOfJoining=Calender
Designation==dropdownlist
PostingPlace==textbox
How to show a calender with respect to Dateofjoining??
all the calender should not be shown on the desktop while editing only i need to select from the calender.
I have no idea.can anyone give me someidea.
|
|
|
|