13,153 Topics
![]() | |
Hi I have the following code to insert data into a db int svcTypeID = Convert.ToInt32(comboBox1.SelectedValue); String svcGuid = label2.Text; int heartbeat = Convert.ToInt32(textBox1.Text); String hostname = System.Net.Dns.GetHostName(); Guid gu = new Guid(svcGuid); SqlConnection conn = new SqlConnection(@"Data Source=x\x;Initial Catalog=task_system;Integrated Security=True"); SqlCommand cmd = new SqlCommand("storedProc"); cmd.Connection = conn; cmd.Parameters.AddWithValue("@guid", … | |
Hello All, I have created a new windows form application in Visual studio Express 2013. How would I get .NET framwork added to Windows Form application so I can use both? I have also got visual express web 2013 and .NET framworkdapppears on there. I am getting annoyed. Can I … ![]() | |
Hi im trying to assign a guid in my windows application and have the following code: Guid g = Guid.NewGuid(); label2.Text = Convert.ToString(g); however this generates a different guid everytime the program is ran, just wondering if theres any way of assigning a GUID that doesn't change? | |
I will be showing how to pass data between two forms in VB .NET. I will be using two forms, two classes which we will define, a delegate, an event, and an event handler. It is my first tutorial and is a bit long because I wanted to make it … | |
Hello ALl, I have found this project online which I would like to do. The link for the project is http://1000projects.org/network-intrusion-detection-system.html#comment-249119. If I am correct, this application if built properly is meant to look at all the packets and store them into SQL server?. I have got many problems before … | |
Hi. I have created two tables :Artist and Song .Artist table has fields Artistid and ArtistName and Song table has SongID, Lyrics,Description and Artistid as the secondary key.I have a web form wherein i m using a label with the name "lyrics" . I want to enter lyrics in html … | |
I have a linq statement where i turned letter grades into numbers to calculate a gpa can anyone tell me why no matter what grade i click i get the same gpa of 68 for each one? maybe someone can look over my code and give me an answer or … | |
i have a website that i have configured to send me an email every time an error occurs, i keep getting the following error: Message: Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and validation … | |
Can anyone give me an example to use authentication and authotization in MVC and C#? | |
Guys, I am a little confused with the usage of the keyword model/Model in MVC, so I was hoping somebody could clarify a few aspects of it (needless to say internet searches didn't really help that much). Given this model: using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Ebuy.Website.Tests.Models … | |
need to code a linq statement that codes the grade display button so it allows the user to display either all records or only records matching a specific grade. Also it has to calculate a gpa where a=4 b=3 c=2 d=1 f=0 My main problem is with a linq statement … | |
[Autorize] I want to set the page if the user is not currently login in MVC. How can I do it? I want to set it in "User/Login" | |
Hi, I'm working as freelancer. Looking for software projects. Please can anybody help me in getting projects. Please If have projects pease share details | |
Hi, I am developing a website. I have a folder containing some images. I have display list in gried view but on gried_itemcomannd download the image but following erroe are display i have trying the following code string filePath = "http://sdokannad.org/httpdocs/SDOKannad/DailyEntry/" + e.Item.Cells[12].Text; Response.AddHeader("Content-Disposition", "attachment;filename=\"" + e.Item.Cells[12].Text); Response.TransmitFile(filePath); Response.End(); **http:/sdokannad.org/httpdocs/SDOKannad/DailyEntry/20150409_125733' … | |
HEllO guys I have been stuck for 3 weeks on this thing in vb .net. usually when we use suggestappend or autocomplete in a combobox for example three names in database retreived 1- Jack Nickelson 2- John Wether 3- Robert Garland If I just remember the family name and I … | |
# Performing Selective Includes in Entity Framework with the Fluent API # When we are using Entity Framework as our data access choice to work with SQL Server then there are some potential pitfalls. One of these pitfalls is doing selective includes. What do I mean by selective includes? To … | |
For one of our projects we are looking for a Word editor that can be used in ASP.NET without the need of Office/Word being installed on the server. The requirement is that we need to be able to edit Word mail merge templates online. Any advice or pointers welcomed. | |
Hi guys, I'm following an example from a book (incidentally I'm amazed how many mistakes I've found in pretty much all the MVC books I've so far consulted) and I think I've found where the error is by going line by line, compile and executing the app. Basically, this is … | |
I'm having trouble with my pagination using grid view if the datasource is in Page_Load event. But when I manually use the GridView -> choose datasource in its property, I don't have any problem with the pagination. I'm using the Page_Load event because there are some parameters. Please help and … | |
hi does any one know the RGB values of the standard form in C#.net? how can i get it to be add to the colour pallatte in the C#.net color pallette? | |
Hi guys, I'm trying to get my head around this strongly typed view concept but I keep getting an error hen I view the page. Basically, my application is called modelsTest and I have a CompanyInfo.cs class: using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace modelsTests.Models { public class … | |
Hi . I want to know how pass the data from the datagrid to textbox through query string with only the ID of the selected row being passed as query i.e when I select a particular row all the attributes of that row should be displayed on the textboxes of … | |
hi I want to change the width of column in Gridview bound field but it is not changing . Code Is [code] <asp:BoundField DataField="Address" HeaderText="Address" SortExpression="Address"> <ItemStyle Width="500px" /> </asp:BoundField> [/code] thanx | |
Hi Guys GoodMoring to Every Boddy i faced Small Trouble Please Help Me.Actually I Dout is When user Login In our site Display Her Name⦠| |
I have a silverlight app that uses TextBox XAML controls. In the c++ code-behind, IXRTextBoxPtr types are associated with these textboxes using "FindName" like this: FindName(L"ColNum3", &m_pColNum3); (where ColNum3 corresponds with the XAML CODE like this: ) Then, the code assigns the pointer like this: std::wstring wsTransfer; // gets the … | |
Hi , i hv created 2 tables : a Department table with fields Deptname , Deptid and Employee table with Empid , Empname, Salary . I have created a datagrid with fields empname , address , Salary , Deptname and edit and delete command columns . By clicking on edit … | |
Hello,I've a gridview control and inside a cell, i've put 3 radiobuttons under a same group. I'm not able to get which radio button is selected through checked property. As checked property is giving false always, when i check it with breakpoint. How can i get a the selected value … | |
Hi I am not familiar in how to create HTML Embeded emeil. Currently I am using below code, It is work fine and send email with plain text. It is not look nice. I need to formated embeded email with logo and below information together to the email. I have … | |
Hello, sorry - another newbie. I found a lot of similar FQAs and Solutions, but they do not fit ... For some reasons I do not use Visual Studio and not Razor. My code example is a single .aspx page (with no code behind). I would like to get the … | |
![]() | I have an asp table with 5 rows and a button that, when clicked by the user, adds an additional row to the table. The row contains 5 cells for the user to input information into. When the text changes in the 3rd cell, its supposed to calculate the sum … |
The End.