Quantcast
Channel: Web Forms
Browsing all 23244 articles
Browse latest View live

Issues with GridView record selection

Hello,I have a search box, search button, and then gridview (1st column is icon column, 2nd column is Emp ID, 3rd column is Emp Name, 4th column = Emp dept) and then some text boxes which will get...

View Article


To prevent double-Clicked save button to save twice

Dear All,I have a problem in my program as user can click the "save" button twice and save two times.The save button will do some server-side validation and save to the database. As such, I can use...

View Article


which hosting service is better Dedicated server,VPS hosting ,shared hosting

please let me know the which hosting service is better from Dedicated server,VPS hosting ,shared hosting also prvode me the hosting provider companies list.Thanks

View Article

Using a method or class to call a form control from a class file.

Helo my ASP.NET friends. I have a form containing several controls. I also added a Class by going to Add New Item and selecting Class. My question is how can I create method in my class that allows me...

View Article

Get Server Name from shared network ?

Hi,I have shared network path like this ..Computer > main(//bibkul5)(F:) > HoldingBayI am uploading a file from above path , then I have to delete this file by using web request.But i am getting...

View Article


connection string in Text File asp.net

"byval constr as string=" serever='(local)';uid='sa';pwd='sa@123';database='moh';Trusted_connection=true;"are this correct  ? if not tell me what is the code correct in textfile please,  and how can...

View Article

How can I set the number of rows in a GridView manually?

Hi AllI hope I have found the correct spot to ask this question. I am using C#.Net and I have a gridview to display data from sql server. I want to be able to give the gridview the total count of rows...

View Article

Cannot delete file in asp.net ?

Hi,I deployed an application in  'A' server IIS. & I am trying to delete a file using application in the 'B' server.But it's not deleting a file in 'B' server ..lblCheckThis.Text =...

View Article


Application was working fine but suddenly getting below mentioned error in...

<div sizcache="5" sizset="0">Hello,Application was working fine but suddenly getting below mentioned error in intermittently, please help me to resolve the error.Thanks in advance.Server Error in...

View Article


DropDownList losing CSS

Hi,I'm having this problem: the dropdownlist is losing CssClass on Postback inside a UpdatePanel.My CssClass : .selectBox-dropdown { color: #8e8a8c; font-size: 13px; font-weight: bold; font-family:...

View Article

Path absolute or relative problem in asp.net master page?

HiI have a home page as startup inherited from master page, which are in root. I have folder called "WebPages" and i have all the webpages inside this folder. When user open site, HomePage.aspx loads....

View Article

SeparatorImageUrl not working for me

Hi I try desperatly to use SeparatorImageUrl without successI found a lot of, a lot of  sample but any sample code that I can download.I try this in code behind or directly from asp...

View Article

Downloading an Excel Template from Aspx page

Hi,I have requirement, wherein a custom aspx page will have a button, and on click of button, end user should be able to download an excel template. And the user is supposed to add data into the...

View Article


validation of of arithmetic operations using c#

I just need code in c# to get know whether any equation given by user is valid arithmetic operation or not. like ((4 + 4) / 3 - 47 % 3) * (6 + 8)its valide((4 + 4) / 3 - 47 % 3) * (6 + 8and this is...

View Article

Error with linq - validating text value with database

Hey Peeps,(1) Not sure why I get the message that my if statement 'is a value of type 'int' that is always true - even though Email is char.(2) There's an error, 'value cannot be null' even though i...

View Article


Can't get popup box to show in on_click method

I have a button and on its EditData_click event method I call I want to create a javascript popup box and display it on the screen.Here is what I'm doing but the box doesn't popup!protected void...

View Article

Event receiver in VS2010 to send an email with attachment

Hi,I am trying to send an email with an attachment once a new document is added to a document library in sharepoint 2010. I created an event receiver in VS2010 and have following code so far but I am...

View Article


Web application that can listen to external event

I have a third party dll that can recieve signals via tcp port and process them and raise an event.I need to create a web application that catch the event and update session application based on the...

View Article

Catch an error in one function

I have a function in which there are a few line code and return boolean.If apply this function in main page, how to catch an error in try--catch block if some code in the function has an error?Using...

View Article

Asp.Net Custom Resource Provider : non-updatable build

In my asp.net web site i'm using customized resource provider to fetch local resource information from database,<globalization resourceProviderFactoryType="MyCustomResourceProvider" culture="en-US"...

View Article
Browsing all 23244 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>