.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

where did i put this in web form using visual studio 2008?

Posted By:      Posted Date: August 28, 2010    Points: 0   Category :Sql Server
(1)Connection String Sql connection conn=new SqlConnetion ("Data Soure=_______; InitialCatalog=_______;integrated Security = "TRUE"); (2)Binding a control SqlCommand=new SqlCommand ("SELECT STATEMENT", Connection String); SqlDataAdapter da=new SqlDataAdapter(comm); DataSet ds=new DataSet(); da.fill(ds); checkedListBox1.DataSource=ds.Tables[0]; checkedListBox1.DisplayMember="_____"; checkedListBox1.ValueMember="_____";

View Complete Post

More Related Resource Links

Using AxSpreadsheet in Windows Form with Visual Studio 2008

Hi. at our company we had a very big Visual Studio 2003 solution which was recently migrated to Visual Studio 2008 and .NET Framework 2.0. Everything works fine, except this one form where we use an AxSpreadsheet control so that the user can manipulate an Excel Spreadsheet directly from the form, and we can programatically access the cells he modifies. We are using Microsoft.Office.Interop.Owc11.AxSpreadsheet, which we already signed in VS2003, and worked perfectly. Now, when I try to open the form in desing time, I get an error that says: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Of course, I get the same error at runtime.

Any help? Thanks a lot.
:. HUGONNE .: Please mark as answer if the post helps

Debugging in Visual Studio 2008 Second level form


I'm using Visual Studio 2008 in developing VB.NET windows application , this application contains MDI_PARENT form and many MDI_CHILDS forms.

when i run F5 (start debugging) , and stop in BREAK-POINTS and need to edit the code , it allows me to edit in MDI-PARENT form code , but when i try to edit the MDI-CHILD code it gave me the following message :

changes are not allowed when the debugger has been attached to an already running process.....

I went to:

Tools -> Options -> Debugging -> Edit and Continue

then i disable "Enable Edit and Continue" remove the Checkbox before it . then when i tried to edit it gave me the following error

cannot currently modify this text in the editor. it is read-only

so, how could I enable Edit and Continue in MDI-CHILDS forms ???


Visual Studio 2008 Memory problems


My memory in task manager reaches about 900,000K  and I don't know why it does this. Definately slows everything down, especially when I rebuild my tableAdapters, takes about 30 seconds sometimes to rebuild the project.

is it possible to convert whole visual studio 2008 web site project to visual studio 2010 web site p


is it possible to convert whole visual studio 2008 web site project to visual studio 2010 web site project


my current project references




i have a very annoying iis problem

iis server stops working until app pool is recycled


i am hoping that new visual studio (net framework 4.0) may solve this very annoying unsolveable problem


Business Intelligence Reports Project in Visual studio 2008 ?



I wonder how to add a project template called  Intelligence Reports, something like that, to Visual studio 2008. I have SQL 2008 installed. Do I need to install some updates to get Intelligence Reports template to Visual studio 2008 ?

Thank you..

Visual Studio Web Deployment Project for VS 2008


What is the latest version of Visual Studio web deployment project which I can use with  VS 2008 ?

Can I use VS 2010 Web Deployment Project with  VS 2008 ?


crystal report -visual studio 2008 dual axis chart (bar & line)


dear all, 

i use crystal report integrated with  vs.2008, and i want to make chart with dual axis (bar & line).

i have used bar chart and input the data with 2 values..

then in chart options > template, i activated the dual axis..

my question is, how i can change the 2nd value with line chart not bar chart??

i'd tried to find the right settings in "chart options" but still can't find the solution.

for information in "chart options" there are 4 sub menu : template, general,titles,grid..

i read in a tutorial there's more sub menu called "series" in crystal report (stand alone version)..

is it possible doing it in Crystal Report VS. 2008?

please,, i need your advice and solution..

Thanx before..


VSTO 3.0: Developing Office Business Apps with Visual Studio 2008


With custom form regions in Outlook you can pull in data from designated data sources and truly customize your users' Outlook 2007 experience.

Steve Fox

MSDN Magazine Launch 2008

Foundations: What's New for WCF in Visual Studio 2008


Visual Studio 2008 and the .NET Framework 3.5 provide new tools and support that extends Windows Communication Foundation (WCF). Visual Studio 2008 also automates a number of manual WCF tasks for the developer as well.

Juval Lowy

MSDN Magazine February 2008

Speed Up Visual Studio 2008

The article Speed Up Visual Studio 2008 was added by tmorton on Monday, August 09, 2010.

1- Disable toolbox populate from the mainmenu open Tools->Options Select the general tab under Windows Forms Designer Set AutoToolBoxPopulate to false. Although the setting is under Windows Forms Designer, it is just as effective for ASP.Net developers

CSS support in visual studio 2008 express edition


I have several css style sheets I want to work with.  I have copied them into the appropriate directory structure in my project.  The styles are applied correctly.

But the manage CSS styles tool bar on the left margin doesn't seem to work correctly.  At one point I had generated a style sheet and worked with it there, but now it not only can't find the one it generated, but the attach style sheet link doesn't respond at all, nor does anything in this bar.  Same deadness with the CSS Properties bar.  With or without a style sheet loaded in the editor -- a style sheet that is active in the project such that when I run it, the styles are applied.

VB version of studio, running on Vista home basic.

PS, the design mode works a lot better than the professional version I use in my day job on XP and server 2003.

How to get information about Sharepoint Running Workflow in Visual Studio 2008

Can any one tell me about. How i can get information about sharepoint running workflow in visual studio 2008.

Infopath form using Visual Studio - How to bind repeating table on submit button click ?


Hello friends,

   I have created infopath form using Visual Studio 2008

Form have 3 dropdowns and one repeating table which is bound by Datasource ( List from sharepoint ).

whenever i select appropritae values from drop down, Repeating table gets bound as datasource for dropdown and repeating table are same.

I have done conditional formating for repeating table using repeating table properties.


My Question:


Now i included one submit button and i want when i click submit button it will check DropDown Values and if appropriate record matching these values found it will fill repeating table

How i achive this ? as i dont find how to bind repeating table on submit button.

Please help if anyone have answer.


Thanks and Regards,


Kapil Bhosale.




Where is the Visual Studio 2008 Web Control Library Template


Does a project exist for grouping user controls? Visual Studio 2005 had this template but it does not appear to exist in 2008.

We will be creating several User Controls and would like them grouped accordingly.


Thanks in advance for any responses.

WPF Designer (in VS 2008 and VS 2010) crashes with Visual Studio

Good day all. I have the following question: WPF designer in both VS 2008 and VS 2010 crashes with Visual Studio when I try to edit UI form. Moreover, it crashes even when I try to save .xaml.cs file. Meanwhile, Winforms and Dataset UI editors work as usual. Are there other people met this issue? And how could I fix up this problem? Deleting the .suo file, uninstalling silverlight, repairing visual studio, and further googling did not help me. Thanks in advance.

AdventureWorks and Visual Studio 2008

Would someone please tell me how to get Visual Studio to automatically create the correct SQL statements so that I can stop getting the following error:"there was an error executing the query. please check the syntax of the command and if present the types and values of the parameters and ensure they are correct. Invalid object name 'Product'" 'Product'  gets replaced with whatever table name I drag onto my web form from the server explorer. The only information that may help that I know is that I noticed that Visual Studio creates the following select statement: "SELECT * FROM [BillOfMaterials]" and this generates an error. Where as when I manually type "SELECT * from Production.BillOfMaterials;" Everything works fine. The only issue with this is i would hate to have to manually enter all of the SQL statement into my web app.  Any help would me great appreciate. SQL2008.AdventureWorks_All_Databases.x64 - this is the version of AdventureWorks that I downloaded and installed on my machine.

Visual Studio 2008: having trouble in opening any web page

hi alli am unable to run any web page in the browser that i design in visual studio..i didnt understand that what happened.As the visual studio was working fine and i can easily run my websites that i create in it but now i tried to run different pages in its internal browser,internet explorer,mozilla firefox but they give error(the error which we get when we are not connected to internet and try to open a url).Even i had tried to build a new website and run it but the problem is still..i cant figure it out thats why came here and posted.so can anyone help me out...
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend