benefits of using visual studios 2013 ?

Member Avatar
Member Avatar
+0 forum 1

Hi, I'm creating a simple C# ASP.NET app in visual studios and I can’t seem to figure out how to pull values from a single cell when using a table adapter for a SQL database. For example, I have a table adapter named ProductsTableAdapterand I can easily use it to fill a grid view or return rows from the SQL database. However, what if I want to pull a single value from the returned table by a specific column/row? Does anyone have an example for that syntax? DataSet1TableAdapters.ProductsTableAdapter productAdapter = new DataSet1TableAdapters.ProductsTableAdapter(); DataSet1.ProductsDataTable products; products = productAdapter.GetProducts(); //Not sure where …

Member Avatar
Member Avatar
+0 forum 2

i'm trying to create a program that will run another program. but the program i want to run has a gui and i don't want the gui to be visible, i just want the program to run in the background. **But i have to do it without editing the gui program** here's my code: TCHAR* path = L"C:\\Myfile\\test.exe"; STARTUPINFO info = {0}; PROCESS_INFORMATION processInfo; ZeroMemory( &info, sizeof(info) ); info.cb = sizeof(info); ZeroMemory( &processInfo, sizeof(processInfo) ); info.dwFlags = STARTF_USESHOWWINDOW; info.wShowWindow = FALSE; if (CreateProcess(path, NULL, NULL, NULL, TRUE, 0, NULL, NULL, &info, &processInfo)) { ::WaitForSingleObject(processInfo.hProcess, INFINITE); CloseHandle(processInfo.hProcess); CloseHandle(processInfo.hThread); } the code …

Member Avatar
Member Avatar
+0 forum 5

**have used the following code for displaying names of my sql db tables in combobox...now i want dat when i click on any of these table names from combo box..my dgv populates with that table's contents...i have gor three tables in my db..lol,datejoin and tble ** private void Form1_Load(object sender, EventArgs e) { String strConnection = "Data Source=HP\\SQLEXPRESS;database=MK;Integrated Security=true"; SqlConnection con = new SqlConnection(strConnection); try { con.Open(); SqlCommand sqlCmd = new SqlCommand(); sqlCmd.Connection = con; sqlCmd.CommandType = CommandType.Text; sqlCmd.CommandText = "Select table_name from information_schema.tables"; SqlDataAdapter sqlDataAdap = new SqlDataAdapter(sqlCmd); DataTable dtRecord = new DataTable(); sqlDataAdap.Fill(dtRecord); comboBox1.DataSource = dtRecord; comboBox1.DisplayMember = …

Member Avatar
Member Avatar
+0 forum 5

Hi all, I'm in my 2nd year of software development (doing C#) and having come from a Java background, and having programmed a few GUI's in C#/Visual Studio's; I was wondering... Like in Java You can use an IDE to build a GUI, however you can also simply add Frames, textboxes and so on manually(no IDE just plain java programming). But this does not seem to be present in C#. I have looked around the net and all the had is this:[url]http://msdn.microsoft.com/en-us/library/ms752299.aspx[/url] So my question is why in that case can you not write a GUI manually like in Java, …

Member Avatar
Member Avatar
+0 forum 3

I am trying to learn C# and have an idea for an application. I am building a windows form application in C# that will convert an area code from my Access database into the time zone that area code is located in. I have the database connected to Visual Basic 2008 with a text box where the user will enter the Area Code and click a button that should then retrieve the information from the database and display it on the form along with the time for that area code and a message that says "do not call" or "ok …

Member Avatar
+0 forum 0

If you've always wanted to create your own Linux distribution (distro), like I have, now you can by using a tool that was originally developed to create Virtual Appliances. [URL="http://www.susestudio.com"]SUSE Studio[/URL] (still currently in alpha) is a web-based tool that helps you create Linux Virtual Appliances and complete bootable distros on CD/DVDs or USB drives. Starting in early 2009, you can sign up for the beta version but to see the power of this tool now, you can pick up the January 2009 copy of [URL="http://www.linux-magazine.com"]Linux Pro Magazine[/URL] complete with screenshots and a full description of its features. You begin …

Member Avatar
Member Avatar
+0 forum 7

Hi, im needing visual studios 2008 for my uni work Does anyone know where i could possibly get it for free?

Member Avatar
Member Avatar
-1 forum 4

The End.