visual-web-developer

Why is visual web developer working the way it is (hiding text)?

江枫思渺然 提交于 2019-12-13 04:10:41
问题 I've written down exactly what I've done: Visual web developer – new project - New web application Double click "Site.Master" in solution explorer. Click "design" Select the text: "My ASP.NET Application" Format – font - change color - (not showing change. Opening font again shows the old font color.) Why? Click on " <h1.style1> " at bottom Format – font - change color – (this time it works fine) Click to the right of "My ASP.NET Application" – div.loginDisplay is selected. Why? Why not the

Data source name not found and no default driver specified

这一生的挚爱 提交于 2019-12-11 14:35:21
问题 The Error ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified The Story I've written a page outside of Visual Web Developer 2010 that uses a SqlDataSource object along with a FormView object that works perfect. Building upon those awesome skills I obtained I started to build a project within Visual Web Developer, this time creating an Empty Web Application and went along my happy way building my new site. I used the same techniques and

Silverlight--No changes possible

故事扮演 提交于 2019-12-11 11:23:50
问题 I've just encountered a strange mistake in a Silverlight project I'm working on with Visual WebDeveloper Express. When I change the MainPage.xaml file the changes show up in the editor window and the project is compiled without problems. However during Debug Mode the website hasn't changed. My goal was to implement a very simple image viewer for my father: One big image with a small progressbar below. It should be possible to set up a few images that are shown one after another in the huge

How to get a reference to a control from its' string name in C#

…衆ロ難τιáo~ 提交于 2019-12-11 06:48:03
问题 How to get a reference to a control from its' string name in C#? 回答1: Page.FindControl If the Control is nested, use Control.FindControl from the parent Control. Otherwise, you'll have to write your own FindControlRecursive 回答2: private Control FindControlRecursive(Control root, string id) { return root.ID == id ? root : (root.Controls.Cast<Control>() .Select(c => FindControlRecursive(c, id))) .FirstOrDefault(t => t != null); } 来源: https://stackoverflow.com/questions/494487/how-to-get-a

Visual Studio 2008 express not recognizing my Sql Server 2008 express

假装没事ソ 提交于 2019-12-09 21:14:46
问题 I recently installed in order: Sql Server 2008 Express Visual Web Developer Express 2008 When I right click on app_data and try to add a db it returns: Connections to SQL Server files (*.mdf) require SQL Server Express 2005 to function properly. Please verify the installation of the component or download from the URL: http://go.microsoft.com/fwlink/?LinkId=49251 I just recently reinstalled windows vista due to registry problems from installing visual web developer before installing sql server

Nullable DateTime and the Database

末鹿安然 提交于 2019-12-08 15:31:38
问题 I've got a nullable datetime object in C#. DateTime? StartDate = new DateTime(); I then check a user submitted value to determine if a date is applicable to this record: if (Complete == "N/A") { StartDate = null; } Now I come to my query which may or may not be inserting a null datetime: using (SqlCommand command = new SqlCommand(updateSql, db)) { command.Parameters.Add("@Date_Started", SqlDbType.DateTime).Value = StartDate; } As you'd probably expect if the start date is null then I get an

Visual Web Developer - jQuery Intellisense not showing

你离开我真会死。 提交于 2019-12-08 10:47:27
问题 I'm trying to follow this tutorial - http://www.dotnetcurry.com/ShowArticle.aspx?ID=231&AspxAutoDetectCookieSupport=1 I have both the vsdoc file and the main jQuery script files in the same folder, and when I include the jquery file, I get no intellisense when I start typing $(, but I do get intellisense when I include the jquery vsdoc file instead. Any ideas? I'm expecting vs to automatically load the intellisense from the vsdoc. Thanks for any help! 回答1: Check you have the hotfix for visual

how to write immediately search (c#)

廉价感情. 提交于 2019-12-08 04:05:12
问题 I'm using visual web developer to create basic gui with one table DB. I'm trying to make something like google instant search. I have a search page that contains one textbox, one button, and gridview. I'm entering a string in the textbox, pressing the button and getting the results in the gridview. I'm trying to use the textchanged event of the textbox and allow autopostback but still the search isn't working as I want. What am I missing and how can I create the search as showed above? 回答1:

how to write immediately search (c#)

时间秒杀一切 提交于 2019-12-06 16:08:21
I'm using visual web developer to create basic gui with one table DB. I'm trying to make something like google instant search. I have a search page that contains one textbox, one button, and gridview. I'm entering a string in the textbox, pressing the button and getting the results in the gridview. I'm trying to use the textchanged event of the textbox and allow autopostback but still the search isn't working as I want. What am I missing and how can I create the search as showed above? We implemented a Google Instant type of search using the following: TypeWatch Plugin: The TypeWatch plugin

Visual Studio 2008 express not recognizing my Sql Server 2008 express

自古美人都是妖i 提交于 2019-12-04 17:15:26
I recently installed in order: Sql Server 2008 Express Visual Web Developer Express 2008 When I right click on app_data and try to add a db it returns: Connections to SQL Server files (*.mdf) require SQL Server Express 2005 to function properly. Please verify the installation of the component or download from the URL: http://go.microsoft.com/fwlink/?LinkId=49251 I just recently reinstalled windows vista due to registry problems from installing visual web developer before installing sql server. This time the reverse order seemed to work fine until I noticed this problem. I can copy an MDF file