13,153 Topics
![]() | |
like i am setting a button i gridview which when i click then shoulf turn row into editable mode, i could use Automatic EDIT button of Gridview but i didn't on purpose, it went good when i developed a delete button, +1, but stuck with this edit , it throws … | |
I'm trying to find out which of the following WEB/MOBILE Developing Tool. 1. ASP.NET 2. PHP 3. JAVA Which one of them is the best in terms of robust web application, tight Security, mobile application, database application, etc. I will like to know which one with reasons. | |
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 … | |
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? | |
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 … | |
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 … | |
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 … ![]() | |
Is this an error or C# defalt value ? How to slove this problem ? | |
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 … | |
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 … | |
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 … | |
string s = "select * from StudentDetails"; SqlDataAdapter da = new SqlDataAdapter(s, con); DataSet ds = new DataSet(); DataRow therow; try { con.Open(); da.Fill(ds, "StudentDetails"); TextBox1.Text = "" string s = "select * from StudentDetails"; SqlDataAdapter da = new SqlDataAdapter(s, con); DataSet ds = new DataSet(); DataRow therow; try { … | |
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 … ![]() | |
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 | |
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 … | |
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"); … | |
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" … | |
 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. | |
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 … | |
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 … | |
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 … ![]() | |
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 … | |
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); … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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" %> … ![]() |
The End.