13,153 Topics
![]() | |
Hi, I'm working on one project in .NET 4 and I use LINQ for database access. I have a problem. Consider a following code: Guid userId = new Guid(Membership.GetUser().ProviderUserKey.ToString()); IEnumerable<ViewCount> views = from vc in dbContext.ViewCounts where vc.Time >= dateFrom && vc.Time <= dateTo group vc by new { catalogueId … | |
Hello everyone! i have problem in inserting data in my database from textbox, i m using c#. the code in .aspx.cs file is using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using System.Data.Sql; using System.Data.SqlClient; public partial class _Default : System.Web.UI.Page { SqlDataAdapter da … | |
Hello I have a problem with customizing my menu, I created a new mvc web application. Visual studio has created a default menu but I wanna add a background image like an image with "Home" or About instead of the default one. here is my code. <body> <div class="page"> <div … | |
Hello I try to do a Dynamic TextBoxes - but it doesnt work :( .. here is my code: if (ds.Tables[0].Rows.Count != 0) { foreach (DataRow row in ds.Tables[0].Rows) { %> <div class="LineA"> <input type="text" id="Item_<%= var %>" name="Item_<%= var %>" value="<%= var %>" /> <input type="text" id="Link_<%= var %>" … | |
i want to get a help to decide about what type of project i can make in asp.net.my qualification is bs(cs) 4 years.i hav to make a final project to complete my course.i am interested in asp.net so please provide me information about project ideas. | |
I have a Counter on a textbox done in Javascript like twitter that counts the text entered. Now It works fine. The Textboxes get field with data and after that i want to calculate the renmaining Text. i have a code for that after i bind the textbox. So i … | |
Hi, I have a sql statemente but I don't want to display all info in the gridview (c# webforms). How to bind specific columns at runtime on gridview? Thanks | |
hello, I am a beginner in ASP.NET and I really need your help. I have a simple database, I want to show list of names (customers) in a dropdown list and, according to what I click on the dropdown list, to get the table updated below... with data corresponding to … | |
Hi there, can you explain to me in the easiest way what is an Architecture n-tier ??? And how to apply to a ASP.NET page or project, whit an example of code if is possible. Thanks a lot for your help!! | |
This is not working..:( RadioButtonList1.Text=reader["Type_Of_Purchase"].ToString(); | |
Hi there, I have a project consisting of a asp.net webpage generating report of total usage per day of a pertucular item. the code worked in CR 9 with VS 2008 but since i converted it to CR 13 with VS 2010 the report is throwing error as "Parameter values … | |
Hello, I would like to tie a dropdown list to my dataset that i have populated from my database. however, there are repeated values in the datatable. my table is as below... BMNO CellName 123 office 242 office 678 production 290 production 101 productiom 890 stores 512 Goods In 514 … | |
i m making website of college in which i have two show the all data of student(student name, course from student table, and faculity from teacher table and result ) after he login his account i have 3 table in sql one is student which have student id, name and … | |
How can i use datetimepicker in asp.net? i.e fromdate and todate | |
For a Gridview: I am trying to use a stored procedure for the first time in a SQLDataSource for the UpdateCommand: <asp:SqlDataSource ID="TECT_DataSource" runat="server" ConnectionString="<%$ ConnectionStrings:OracleConnectionString %>" ProviderName="<%$ ConnectionStrings:OracleConnectionString.ProviderName %>" SelectCommand="SELECT MPID, User_Id, Last_Name, First_Name FROM Scripts.vw_Tect_Exam" UpdateCommand="P_TECT_UPD_EXAM_ID" UpdateCommandType="StoredProcedure"> <UpdateParameters> <asp:Parameter Name="MPID" Type="Int32" /> <asp:Parameter Name="User_Id" Type="String" /> </UpdateParameters> </asp:SqlDataSource> … | |
I have two tables, one is Parent and other Student. I want to allow the Parent to register on website with there username and password and student number but then have access to Student information. How do i go about it? | |
Hello (again) I have a text box that i am trying to put the value of a selected item of a dropdown list in... Protected Sub ddlCell_SelectedIndexChanged(sender As Object, e As System.EventArgs) Handles ddlCell.SelectedIndexChanged Dim reply As String = ddlCell.SelectedValue txtCheck.Text = reply End Sub but when i select something … | |
Hello guys! Please help me with my task. Im working on a calendar and i find it hard in coding it. i have started working on it. My problem is to display a data place inside the days of my calendar as shown in the picture attached. I have research … | |
Hey guys, I got a headache today because of this (little?) problem. I hope you can help me find the solution. I have a repeater which contains a button and an image in each row/item. I already set the button's commandargument with the ID (key) of the data. What I … | |
hi all, I am having this problem for a long time.Everytime i restart my machine,i get this error related to IIS. Default Website Stopped. I have tried to reinstall my IIS everytime to no use. But still i get the same error. Can anyone suggest help on this. Thanks in … | |
Hello Everybody please help me out i am in big problem the problem is my organization people gave me the WEB Application to edit it (the application was written in the C# language and it is web application so it is designed in ASP.NET MVC3 ) and i have to … | |
I am having some trouble. I have a Telerik editor where I display I file that is housed in my application. I need to save the changes back to the file. But some things also get saved to back to the database. My save button currently does save back to … | |
hello i want to display lable value but not show lable value.here my code <asp:Label ID="username" runat="server"><a href="Myaccount.aspx?userid=<%= Session["Id"] %>" style=color:#FF9900 /> </asp:Label> if i remove session["id"] then lable name display but i need session value. like this <asp:Label ID="username" runat="server"><a href="Myaccount.aspx" style=color:#FF9900 /> </asp:Label> this is working fine but … | |
Hi, I'm a newbie in web development. I'm almost half way through creating a web site. I'd wish to send this website to the client for viewing and testing. I have a database also attached with this web site. How do I send it? Please help. Thanks | |
Hello, I want to make a connection to MSSQL 2008 database, using Visual Studio 2010, ASP.NET C# web site I wrote this connection string in web.config file: <connectionStrings> <add name="konekcija" connectionString="data source=.\SQLEXPRESS;Initial Catalog=Movies;Integrated Security=True;" providerName="System.Data.SqlClient" /> </connectionStrings> Now I need to call that connection on a code behind the page... … | |
Hello, I need to start a when a button is clicked on my form in a windows application i'd use timer.start() but i dont seem to have this option with my webform any idea how i can have the timer idle on page load and start it on button click? … | |
Hello everyone.... I would like to display data from my database in a chart. I don't seem to be able to figure out how to get it working though! I have tried the following code to bind the chart to my dataset but no joy! con.ConnectionString = "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source = … | |
i have a header, MainHeading , leftcolumn and contentcolumns in my masterpage. i have created web user controls for MainHeading which includes jquery image gallary and leftcolumn containing different links. when i want page containg only leftcolumn and i want to ignore MainHeading in my inherited page, then when i … | |
Hi All, I would like to start a web site that build from ASP.net & C# and database using MS SQL 2008. Got any good website, source code or book recommend to me to doing this project. Thank you | |
Hi all, Thank you for the wonderful job you are all doing. I have a small problem that I would like to get a solution for. We are creating a cloud for storage of files online for our social group where users will be able to upload files and access … |
The End.