13,153 Topics

Member Avatar for
Member Avatar for nice_candy

hi, i am using gridview as data entry form. the grid view has several text box fields which are empty when the page is loaded so that user can input the data. now the issue is that how can i add another row dynamically if the user want to add …

0
62
Member Avatar for mldardy

I need help on a section of the code below to revise so instead of redirect to a full page I want it to redirect and open as a popup window. How can i change the code I have to make this possible. [CODE]void context_AcessDenied(object sender, EventArgs e) { try …

Member Avatar for abelLazm
0
4K
Member Avatar for Mishalkk09

Hi, I am working with asp.net and in my web user control i have several buttons and textboxes. FirstBtn cliked---->FirstTextBox ----->displays: "Hi" secondBtn clicked--->SecondTextBox ------>displays:"Hello" Now again if i click the firstbtn then the FirstTextBox would be empty.Can anyone tell me how can i sane the last entered value? Regards, …

Member Avatar for prashantchalise
0
357
Member Avatar for pinkygirl

Im getting this error:- The type 'System.Web.UI.ExtenderControl' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.C:\Users\User\Documents\Visual Studio 2005\deepali\mywork\Animation_Control.aspx can anyone please help me solve it?

Member Avatar for pinkygirl
0
210
Member Avatar for abathurst

Hi, I am new to ASP.NET and i have been thrown into the deep end on a project, the person who created this code is no longer available. The website allows an Admin to login and edit, update or delete information in an SQL database referring to PDFs located on …

Member Avatar for abathurst
0
302
Member Avatar for bhavyajyothinat

Hi..Please help me to find solution for this: table am using:tbl_Details Fields in table:UserId(int),FirstName(varchar),LastName(varchar),Image(varchar) tbl_Details UserId | FirstName | LastName | Image ---------------------------------------------- 1 | Peter | John | ee.jpg 2 | James |Samuel | flower.jpg In the Website..a folder"Images" contains ee.jpg,flower.jpg da=new OdbcDataAdapter("select UserId,FirstName,LastName from tbl_Details",con); da.Fill(dt); GridView1.DataSource=dt; GridView1.DatBind(); …

0
59
Member Avatar for Saikalyankumar

Hello, every one i had written a code to get a Database Backup Fully and Differentially in C#.net. Now, i need a criteria that i should get the Backup between a Specified Date given. I am trying for it, can any one help me regarding the Specified Date Period Backup. …

Member Avatar for abelLazm
0
66
Member Avatar for MARKAND911

How to custom control's property to new category in property window in asp.net as for example [CODE] [Category("Appearance")] public string GridCssClass { set { CssClass = value; } } [/CODE] this code will add Property GridCssClass to Property window under Appearance Category My Question is that i want to make …

Member Avatar for Momerath
0
63
Member Avatar for wesley.groves

I have put together some vb.net code that creates a website and sets various properties, adds additional host headers; but I cannot get it to "check" the allow anonymous access checkbox or start the website. The anonymous user and password are set properly, but the checkbox remains unchecked to allow …

0
47
Member Avatar for Nfurman

Hello, My code is: [CODE] protected void Button1_Click(object sender, EventArgs e) { string EducatorName = tbEducatorName.ToString(); string Educatorfamilyname = tbEducatorFamilyname.ToString(); int Hisclass =Int32.Parse(ddlClasses.DataValueField.ToString()); SqlConnection conn = new SqlConnection(DBconn); SqlCommand cmd = new SqlCommand("AddNewEducator", conn); cmd.CommandType = CommandType.StoredProcedure; cmd.CommandText = "AddNewEducator"; cmd.Parameters.Add("@EducatorName", SqlDbType.VarChar).Value = EducatorName; cmd.Parameters.Add("@Educatorfamilyname", SqlDbType.VarChar).Value = Educatorfamilyname; cmd.Parameters.Add("@EducatorClass", SqlDbType.Int).Value …

Member Avatar for Nfurman
0
101
Member Avatar for bluem1

Team - This has to be way more simple that I am getting. Been searching google for hours with no luck. Simply stated, I am trying to delete a datalist row which is bound to a mssql database. Simple right! I am missing where it is putting the key or …

Member Avatar for pinkygirl
0
934
Member Avatar for pinkygirl

Hello! 1) I have no idea how to use Session objects, especially when it has to remember the Session of the logged user. When the user clicks logout, his session should be removed until the next time he logs in. 2) Also, how to validate the user in such a …

Member Avatar for pinkygirl
0
105
Member Avatar for low1988

Is there anyone how to write the print function so that i can print out the web form with the web control contents.Here is the scenario , the web form i would like to print out have: 1.TextboxA.txt = "Sample1" 2.TextboxB.txt = "Sample2" 3.DropdownlistA.selectedIndex = "1" 4.CalendarA. Please teach me …

Member Avatar for pinkygirl
0
104
Member Avatar for mishalk

Hi, I em using a asp.net webcontrol having two buttons and onclick of a button i em displaying the custom server control which is created using asp.net.I used AJAX so that the page does not reload when buttons are clicked. Check out the code below: [CODE] <%@ Register Assembly="abc" Namespace="abc" …

0
55
Member Avatar for digioz

I am trying to display a Crystal Report developed using MySQL database and ASP.NET 2.0 (VS.NET 2005), and for some reason when I pass the database login information to the report it does not accept them (still shows a db login screen). Here is the code: [CODE] Dim cnString = …

Member Avatar for anli_chandra
0
745
Member Avatar for khan43

I am using visual studios 2008 combined with ASP.NET prog language. On my master page I have a div in the center of the page, which is called #nav in the css page. This div is a square box, althou I would like to curve the angels of the div …

Member Avatar for khan43
0
127
Member Avatar for Msam85

Hi all, I'm new with asp.net and I'm currently starting a project with MVC 2. As far as I know the models folder is dedicated to store the .cs of our entities and in the controllers folder you receive the petitions from views, create new instances of the entities and …

0
105
Member Avatar for pinkygirl

Can anyone help me solve this error:- Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'.

Member Avatar for pinkygirl
0
101
Member Avatar for malashukla

i am creating a gridview at runtime like this [CODE]DataTable dt = new DataTable(); DataRow dr=null; if (gdvItem_Indent_List.Rows.Count == 0) { dt.Columns.Add("ItemType", System.Type.GetType("System.String")); dt.Columns.Add("Cost", System.Type.GetType("System.String")); dt.Columns.Add("Quantity", System.Type.GetType("System.String")); dr = dt.NewRow(); dr["ItemType"] = ddlItem.SelectedItem.Text; dr["Cost"] = txtEstimateCost.Text; dr["Quantity"] = txtReqQty.Text; dt.Rows.Add(dr); ViewState["ItemData"] = dt; } else { dt = (DataTable)ViewState["ItemData"]; dr …

Member Avatar for pinkygirl
0
68
Member Avatar for YMCMb

Hey everyone, Im new to ASP.NET i have searched the web and i have come to a few threads which are close to what i am looking for, however they are only helpful to me to a certain extent. I have a grid in a form which is being populated …

Member Avatar for YMCMb
0
201
Member Avatar for suvisoya

hi can anyone send the link r sample project with asp.net and calling sql server stored procedure i am new for SQL thanks regards suresh.S

Member Avatar for Ramesh S
0
45
Member Avatar for NewOrder

This is my first c# application, it took me 2 months to write and it has over 3,000 lines of code.. [url]http://www.youtube.com/watch?v=2ZqYa8agDrQ&feature=channel_video_title[/url] I wanted to ask of your opinion, what do you think?!?

Member Avatar for NewOrder
0
109
Member Avatar for kieky

hi all, [B]i really need your help[/B].. can u correct my code to delete session below? thx before... [CODE] protected void GridView_Main_RowCommand(Object sender, GridViewCommandEventArgs e) { if (e.CommandName == "Erase") { string childId = Convert.ToString(e.CommandArgument); IList dataUserList = new ArrayList(); if (Session["UserList"] != null) { dataUserList = (IList)Session["UserList"]; foreach (UserList …

Member Avatar for kvprajapati
0
65
Member Avatar for priyamtheone

[B][U]Scenario[/U][/B] This is a non-MDI windows application. I have a home form containing a panel named Panel1 and two buttons btnForm1 and btnForm2. Clicking btnForm1 and btnForm2 opens up Form1 and Form2 respectively in Panel1. Before a form is opened in Panel1, all opened forms in Panel1 are cleared. The …

0
77
Member Avatar for Sarama2030

i'm working on this project in asp.net in conjunction with vb.net.the thing is code behind is just not getting fired, well it used to but then it stopped. I'm using visual studio 2010 ultimate edition as my editor and of course IIS as my web server. I really don't get …

Member Avatar for Sarama2030
0
182
Member Avatar for KasunL

Hi! i just learned howto create a simple webpage displaying some database records on it. i know how to bind the database to a grid control and display data. But how can i search for some value in the database? i know SqlDataSource.Insert() method inserts data into the database. What …

Member Avatar for abelLazm
0
88
Member Avatar for bhavyajyothinat

i need to add a column in gridview.. the column should contain image of the person..and the name of the image is to be taken from database. eg: table:tbl_Details columns: Picture:ee.jpg Name:abcd Age:20 Address:"abc street" the picture ee.jpg is saved in a folder "Images" in the Website. could someone help …

Member Avatar for abelLazm
0
2K
Member Avatar for gaurav balyan

what is the role of session and why do we need session in asp.net please ellaborate

Member Avatar for Ramesh.KR
0
77
Member Avatar for soft_coder

I have a sharepoint application in which all the pages after login page are loading slowly. It takes around 1.5 to 2 minutes. I am calling web services in the page and storing the response in cache. The cache expires in 15 minutes and it is again recreated. What should …

0
56
Member Avatar for jigneshdesai

Hello freinds, Recently i was interviewes in accenture and i was asked what the difference between tostring and convertostring. I think tostring checks for spaces and convertostring does not

Member Avatar for Ramesh.KR
0
245

The End.