12,085 Topics

Member Avatar for
Member Avatar for missy786

Dear all, I am trying to implement a method in api controller which only gets the yesterday date's data. I am new c# and mvc programming and I am not sure how to go about executing this task. I started the date method but currently its not filtering the data …

Member Avatar for gusano79
0
173
Member Avatar for Hazuan Nazri

Hello friend, i have some question here, how can i read text by line in text.txt and put it in the text box in asp.net?

Member Avatar for Hazuan Nazri
0
3K
Member Avatar for Kleon

I am using Windows 8 and visual studio, it used to work good never had a problem, yesterday started to give me this problem everytime i run a website it gives me this message, and i know did not change anything on configuration, Error 403.14 - Forbidden The Web server …

Member Avatar for Kleon
0
286
Member Avatar for Duki

Hey everyone, I have this problem. I need to access data that the user inputs via the <input /> statement during the controller method. Here's my code, maybe this will make it more clear: // client side @using (Html.BeginForm()) { if (competitorList.Count > 0 && eventList.Count > 0) { foreach …

Member Avatar for vsmash
0
215
Member Avatar for diya45

previously i try to approve /reject thrugh buttons and i try to code it but now i try to approve/reject through dropdownlist but i dont know how i code though dropdownlist.... this is code when i add buttons of approve and reject.. protected void GrdFileApprove_RowCommand(object sender, GridViewCommandEventArgs e) { if …

Member Avatar for LastMitch
0
999
Member Avatar for giangnt
Member Avatar for Yousha

Im creating an application where some data should be populated in a gridview and then user should be able to update it and then same should be replicate to the database. So i have put a gridview and configure it to connect to my database which is base on access …

Member Avatar for BMXDad
0
366
Member Avatar for diya45

now i set insert query and reject query like this ALTER procedure [dbo].[sprejectapprove] @UserID int, @DocID int, @ApproveType nvarchar(50) as Insert into Approval(UserID,DocID,ApproveType) values(@UserID,@DocID,@ApproveType) Reject ALTER procedure [dbo].[spinsertapprove] @UserID int, @DocID int, @ApproveType nvarchar(50) as Insert into Approval(UserID,DocID,ApproveType) values(@UserID,@DocID,@ApproveType) and i call this sp's in this codes protected void GrdFileApprove_RowCommand(object …

Member Avatar for BMXDad
0
271
Member Avatar for grafic.web

Hi there, my simple page in asp.net with ajax does not work... and i don't understand why... I have a button where i applied an ConfirmButtonExtender I have a textbox where i applied an calendarextender but if i run the page this simple ajax does not work... I guess i …

Member Avatar for BMXDad
0
254
Member Avatar for weeraa

I'm developing an application using ASP.NET + VB.NET. There is a main page and a pop up window. When Click button in main page it is shown pop up and we can add customer details (Name, address, telephone etc..) after click OK in pop up window, It should be closed …

Member Avatar for LastMitch
0
169
Member Avatar for shehnaz_20

hii.. i want the easiest code to connect to insert pictures in the database also i want the easiest code 2 update and delete the records from the database pls send me the easiest code for this help to insert pictures using list view

Member Avatar for JorgeM
-1
113
Member Avatar for Black_Lion

Hi all. I am using Microsoft Visual Studio 2010 and am using ASP.net/C# as the environment. I have installed Crystal reports. I am using 2 fields: business name and number of emails received I have created report to show a graph and have created a connection and everything. Now it …

0
111
Member Avatar for mandar2886

Hi I'm new to .NET technology and learning ASP.NET using C# database connectivity and I'm getting the error[B][COLOR="Green"](PLS HELP):[/COLOR][/B] [B][COLOR="Red"]Could not find installable ISAM.[/COLOR] [/B] in the following code: [B]using System.Data.OleDb; public System.Data.OleDb.OleDbConnection conn; public System.Data.OleDb.OleDbDataAdapter adapt; DataSet ds; ds=new DataSet(); conn=new OleDbConnection("Provider=MicroSoft.Jet.OLEDB.4.0;Datasource=C:\\Inetpub\\wwwroot\\pracs\\emp1.mdb"); conn.Open(); adapt=new OleDbDataAdapter("select * from emp",conn); adapt.Fill(ds,"emp"); …

Member Avatar for dilaram khan
0
235
Member Avatar for gahhon

I was unable to go previous month and next month by clicking the next and previous. And i also unable to display another color when i selected a date. <asp:Calendar ID="cldDOB" runat="server" BackColor="#FFFFCC" BorderColor="#FFCC66" BorderWidth="1px" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt" ForeColor="#663399" Height="200px" ShowGridLines="True" Width="220px" NextPrevFormat="ShortMonth"> <DayHeaderStyle BackColor="#FFCC66" Font-Bold="True" Height="1px" /> <NextPrevStyle Font-Size="9pt" …

Member Avatar for gahhon
0
382
Member Avatar for gahhon

![b3b9d6d242e982759c39df5fe055ad6a](/attachments/large/3/b3b9d6d242e982759c39df5fe055ad6a.jpg "b3b9d6d242e982759c39df5fe055ad6a") What i am doing wrong? Or there is some retriction? i success to read the whole page as my email content, but the images cannot being display as well as my css style cannot be read too.

Member Avatar for gahhon
0
131
Member Avatar for grafic.web

Hi, i am new in asp.net and i found it quiet difficult... i was programming in classic asp and sql server, but asp.net looks quiet different, specially if i do program in C# .... Than i hase a couple of questions : 1) if i do a form with 2 …

Member Avatar for grafic.web
0
365
Member Avatar for Mr.XtrawEffecient

ublic Class Login Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click If Password.Text = "" Or Username.Text = "" Then MessageBox.Show("Password v likh..", "Banday da puttar ban.. :D ", MessageBoxButtons.OK, MessageBoxIcon.Error) Else Dim conn As New System.Data.OleDb.OleDbConnection() conn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\CCIMS.mdb; Persist Security Info= False" Dim cmd As …

Member Avatar for oussama_1
0
230
Member Avatar for Rasool Ahmed

Hi guys, I had developed a server control which acts as a container (user can add any control inside the server control). [DefaultProperty("Text")] [Designer(typeof(ContainerControlDesigner))] [ParseChildren(false)] [ControlBuilderAttribute(typeof(SampleControlBuilder))] [ToolboxData("<{0}:Sample runat="server"></{0}:Sample>")] public class Sample: WebControl, INamingContainer { protected override void CreateChildControls() { System.Collections.IEnumerator myEnumerator = items.GetEnumerator(); while (myEnumerator.MoveNext()) this.Controls.Add((TextBox)myEnumerator.Current); } protected override void …

Member Avatar for LastMitch
0
275
Member Avatar for weeraa

I'm developing a web appication using ASP.NET and VB.NET. In my application im using ajax control tool kit. this is what happned to me... I load data to my AJAX combo box. But when it dropped down, there is a gap between combo box and dropped down list. I search …

Member Avatar for JorgeM
0
946
Member Avatar for gahhon

protected void subString() { SqlConnection conSplit = new SqlConnection(ConfigurationManager.ConnectionStrings["connMSJ"].ConnectionString); SqlCommand cmdSplit = new SqlCommand("SELECT Password FROM Member WHERE (Username=@username AND Email=@email)", conSplit); cmdSplit.Parameters.AddWithValue("@username", txtUsername.Text); cmdSplit.Parameters.AddWithValue("@email", txtEmail.Text); conSplit.Open(); SqlDataReader dtrSplit = cmdSplit.ExecuteReader(); if (dtrSplit.Read()) finalString = dtrSplit["Password"].ToString().Substring(0, 5); dtrSplit.Close(); conSplit.Close(); } protected void sendResetPass() { MailMessage mailMessage = new MailMessage(); mailMessage.To.Add(txtEmail.Text); …

Member Avatar for gahhon
0
217
Member Avatar for shantanu.killer

hi there i am an software developer.till date i have created many web applications/websites. but now i want to develope an software which will be offline that is desktop based software. the problem is this that can i use C# and .net 4.0 for this or i have to use …

Member Avatar for deceptikon
0
165
Member Avatar for grafic.web

Hi there, this is my question : I would like to make te first page with a list coming from database (how to do?); Ex <p><a "href:secondpage.aspx">Record text</a</p> etc. etc. and from this list choosing one of the record, using the id of the record, and open the second page …

Member Avatar for JorgeM
0
329
Member Avatar for grafic.web

Hi there, i tryed to use the authentication with forms... I only added this code to my web.config but that give me an error.. ** <authentication mode="Forms"> <forms name=".myCookieSuffix" loginurl="Login.aspx"/> </authentication> ** do i need to add some more code or something else to my website? Another question, ho can …

Member Avatar for grafic.web
0
218
Member Avatar for grafic.web

Hi there, Once i am on my second page where i have open the record from the database with my id record, how can i populate my textboxes with the values of my record? And ho can i populate a select with another table containig the type of user by …

Member Avatar for grafic.web
0
235
Member Avatar for ss125

Hello friends, I am using sql server 2005 as a backend. I want to filter the datagrid based on fromdate,todate,companyname,employee name. I have done the date filter's.... The problem is with the other two filters. The actual problem is.. The application has to filter based on company only if the …

Member Avatar for ss125
0
261
Member Avatar for Maideen

Hi. I have developed project using visual studio 2012 in vb code. Application is running fine in my local machine. But In server it will show the error once excuting report. server is MS Server 2008 R2 with SP2. Here is the error . This is my senario Database: MSSQL …

Member Avatar for Alvin_2
0
278
Member Avatar for amrita111

I have tried an application in which user can extend his session to further 7 mins when there are only 5 mins left for session to get over by use of a button click.but my code is not working...Kindly help...Here is my code <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> …

Member Avatar for LastMitch
0
214
Member Avatar for gahhon

![8965e33b862782a1757e7cad4f7205c7](/attachments/large/3/8965e33b862782a1757e7cad4f7205c7.jpg "8965e33b862782a1757e7cad4f7205c7") On this morning, i am still using this database, but now my database seem like crashed, and display this error to me. how can i solve this problem other than recreate the database?

Member Avatar for gahhon
0
157
Member Avatar for maxpaine69

Hi all im having problem publishing the project to the server. The problem its some instruction ot giving Cant "find part of the path", other work fine. Any ideas what can it be?? Best Regards

Member Avatar for maxpaine69
0
108
Member Avatar for Adzz

have to create a number of controls equal to a number entered in a textbox by the user. I created a web user control, which has a radio button list. Then when the user press a Submit button, I want to check the selected values of the controls created dynamically, …

Member Avatar for vivek07088
0
3K

The End.