Trim those Textbox Values Ex: TextBox1.Text.Trim while inserting those values and Checking for Duplicate Data.
SachinKumar M
Posts
-
spacebar problem for insertion -
Database?Take Backup of your Database and Restore that in his System.
-
Need to display the resultant time in hours:min:sec format.use DateTime.Now.ToString("hh:mm:ss")
-
Dynamically creating controls and accessing themyou can use CheckBoxList instead of creating Checkbox Dynamically.. and for CheckBoxList you can Bind the values form Database.. and onclick of OK, you can loop through CheckBoxList.Items.Count to check which is Selected and You can take only Selected Values..
-
I have doubt regarding MasterPages & Content Pages...Use document.getElementById ("<%=TextBox1.ClientId%>").value
-
Adding RequiredFieldValidtors programmaticallygive some error message for your required field Validator like rfv1.ErrorMessage ="Some Message"
-
[Message Deleted]try this one... Dim strcomputername As String Dim host As System.Net.IPHostEntry host = System.Net.Dns.GetHostEntry(Request.ServerVariables.Item("REMOTE_HOST")) strcomputername = host.HostName
-
Change photo optionMy problem solved after appending DateTime.Now.Ticks to my ImageUrl. thank you all..
-
Change photo optionno i am not clearing browser's cache.. is it required to clear browser's cache. if yes tell me how to clear browsrs cache... Thank you..
-
Change photo optionIn my page i am having opton to show photo using asp image control and i am giving option to change photo. i am using file upload control and saving image in server. for change photo option after saving image into server photo is not refreshing. it is showing old photo only.. how to refersh image control to show new uploaded photo.. help me...
-
How to pass 2 parameter as a querystring in Hyperlink's DataNavigateURLFormatString in GridViewyou need to give date in datanavigateurlfields.
datanavigateurlfields="CrId,Date"
<asp:hyperlinkfield datanavigateurlfields="CrId,Date" itemstyle-cssclass="clientbor" headerstyle-cssclass="clientbort" datanavigateurlformatstring="customInteraction.aspx?CrId={0}&Date={1} " headertext="Name">
DataTextField="CrName" SortExpression="CrName" /> -
Ajax problemFile Upload Control will not work with in Update Panel. If you want File Upload Control with in Update Panel then you need to set asp:PostBackTrigger to Update Panel.. ...
-
How to open default mail client with attachment in web applicationi tried with attachment="C:\fileName.txt", but it is not working. how to specify file path. any other method to attach a file.
-
How to open default mail client with attachment in web applicationI want open default mail client with attachment from web page.