Sqlconnection and multiple connections
Hi all,I have a doubt: when I run a query to db and I do a loop based on the results, I create a new SqlConnection for every query as follows:selectSQL = "SELECT * FROM languages"; SqlConnection con =...
View ArticleWeb Forms
How to save a form after submitting it as pdf and how to create a view of web forms by users click????
View ArticleCSV Upload to sql
i am uploading csv file to sql db via stored procedure it is said to be ok.but i need good codign standards to do this. reading csv, inserting, updating things needed clearly to increase performance....
View ArticlePerformance issue
Dear all,If I need to insert thousands of records to sql server.e.gFor i as integer = 1 to gridview.count -1 Open sql server connection Call AddRecord Stored procedure Close sql server...
View ArticleHow to generate HTML and CSS dynamically in asp.net?
I am trying to integrate [this photo album]: http://youhack.me/demo/g%20plus%20photo/ in my asp.net website. I am selecting urls of 3 images from database and and displaying those 3 images from a...
View ArticleTextBoxchanged event kills others fires
I have an asp.Textbox in a Webform with a button. The textbox have a server-side event Ontextchanged.Trouble : When the user clicks on the button while textbox have the focus and after a change in...
View Articlethe difference between two queries
Hi. What is the difference between two queries?, that using first one I can get the datas, but using the second one I cannot get the datas.That's why it does not work:SqlCommand cmd = new...
View ArticlePassing variable from text control to google custome search engine CSE
Hi,I have a textBox in the index page and I want it to take the value from this text to the google search engine in another page.how can i pass this variable from control to the cse?This is the index...
View ArticleHighlighting certain dates within calendar control using dayrender
I have a calendar control on my page and so far i have been able to set it up so that only 45 days worth are selectable. Now within those 45, i have 14days that i want to highlight so they know that...
View ArticleCustom "name" attribute for textbox?
Hi All: I have a form that posts back to a different server I have no control over. That server expects one of the form fields to have a name that starts with "000xxxx". If I use that for the ID of a...
View ArticleUpdatepanel does full postback
I have below design in my aspx page.<asp:UpdatePanel id="up1" runat="server" UpdateMode="Conditional"<ContentTemplate><asp:RadioButtonList RepeatDirection="Horizontal" AutoPostBack="true"...
View ArticleImage upload using Image button(open file upload control in Asp.net image...
Hello to all respected expert ,I am working on the Asp.net 3.5 C#,In which I am preparaing My companies employee Records .In the employees record I have to show the User Image on image button But if...
View ArticleMacro- Execute .exe after Post-Built Event
Hi, I want to write Post-build event in visual studio 2012. and I dont know how to write Macros to execute post built events. My simple requirement is, i just want to run an .exe file which is placed...
View ArticleSecure site
I already have this configuation but it says I do not:<configuration> <system.web> <compilation debug="true"/> </system.web></configuration>I am trying to make...
View ArticleRequiredFieldValidator fails when Master page button clicked
I have been using the requiredfieldvalidator in all of my content pages and they worked fine for the content page button clicks and prevents the post back. But I am using the same Validation group on...
View ArticleCould not load type ...
Hi.What can be the problem if the web project works locally, but on the web hotel I get "Could not load type 'test.test'." for example. But I get the Could not load type... on every page.My test.aspx...
View ArticleLinq to Sql
I want to work with linq to sql in my webapplication using C#, so kindly provide tutorial if possible video tutorial.Thanks
View ArticleHelp with comparing lists using IComparable
Here iam trying to compare two lists which is of same type (AddressList) as given below.Below is a generic method to compare two lists which i got from one web siteIf I pass a List<string> or...
View Article