Here i have a problem with text changed event.
I have a popup calender which i will select in a textbox.
I want to check the selected date with the date, which is already entered before this record.
I want to check after selecting one date from calender, that the selected date is greater than the inserted date.
Here on textchanged event,that means user should enter data into the textbox,then only the event is firing.but it is not happening at the time of date selectd from popup calender.
My requirement is the event has to be fired on both cases,ie if the user enters date from keyboard or selects from pop-up calender.
i have tried using querystring,on databinding etc.It is not working.can anybody give me some idea.
I have a grid for binding the data according to the rowindex.I get the selected grid rowindex.I want to check the rowindex is exists in the grid.How is it possible.Please help me to sort out the problem.
can anybody tell me that how to show sub menu horizontal.
i create menu using web.sitemap.
i wrote all menu and submenu in this sitemap file
now it showing like
but i need to show like this
About Us | Contact Us | Search
I am trying to retrieve data from the database and display into the textbox.
For example, when the user wants to edit a current event stored in the database, he clicks the edit button and the edit panel shows. The edit panel consists of all the different textboxes to key in the values. When the edit panel loads, the data in the current event is to be populated into the corresponding textboxes.
I tried using gridview and with following code. StartTimeTextBox.Text = GridView1.Rows(1).Cells(1).ToString
I have built a login authentication section that uses forms authentication. The administrator can log in with their password and username and are granted access to admin pages. However...I dont want a login page as normal users of the site are not monitored. I would like another method so that when the admin is browsing the site the admin pages are made avaliable. Maybe using a cookie or IP address or something. HELP!
When you upload the file you can add file name with its path in the database. When the user go on the file listing you can easily display the file as a link from the database. I usually don't save files in the database until and unless I am very sure about their size and when its a requirement.
In my page, the visitor will fill in a form and can upload a file.
I do not need to save the file itself to the database, rather I save the file to a folder on the server with a reference in my table. The Problem is:
if more than one file with the same name and extension were uploaded, each one will overwrite the older one
I have 2 solutions of my own:
1- I can create a sub-folder with a name same as the primary key of the record this file belongs to. and upload the file to that sub-folder
2- I can append the primary key as a prefex to the file name
But, I think this problem has more smart solution that I faild to find by google or even in codeproject articles
foreach(Minute m in MyLife)
What solutions you have suggested are good you can also do one more thing is to rename the file either with the primary key or some GUID name and keep the actual file name and path of the file in the database so that when you display the file you can show it with actual name and on the backend its with some different unique name.