- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
I am here to gain and share knowledge of ASP.NET
- Interests
- I like to hang out with my friends, watch movies playing cricket at weekends, getting into technical…
- PC Specs
- I like Windows XP since it is very user friendly and very much compatable
33 Posted Topics
Re: Hey this is easy Create a stored procedure which will copy the data it would be like "Select * into dest_table from src_table where condition" call this stored procedure in your code and pass the requirde parameters. Let me know if you need more help | |
Re: Put the Tab container in the master Page and in child pages have the individual tab activated of the master page, this should be easy. -mark this as an answer if it solves your problem. | |
Re: I think you will have to use third party API for payment gateyway and send data to that API | |
Re: I will suggest you to use RowDataBound even of griedview where you can cath each row of gridview and use FindControl method in this event. | |
Re: When you use sessions this error arises when there is no value to bind in Session and you use it somewhere else. | |
Re: I will suggest you to use Session variable only since it would be specific for the search by that particular user. | |
Re: Use [code] DataTable dt = new DataTable(); dt.Columns= dt.Columns.Remove("column name"); [/code] and then bind the edited table to gridview | |
Re: Use the leave event of textbox there you check for if it is filled or not that might solve ur problem | |
Re: If you use ajax there is a Ajax extension called as "Update Progress" you can use it. | |
Re: 1>Your Dropdown must be in update panel and submit button outside update panel . 2>There must be some issue with the postback property of the dropdown box. Let me know if you need more help. | |
Re: use return statement in both if and else or write it after else only. If you don't want to return anything use return 0 wherever required. | |
Re: [QUOTE=kiranbvsn;1179720]I am having two dropdownlists that are interrelated, in which one is vertical ddl and the other department ddl in a grid view if we select the vertical ddl then corresponding departments have to appear in department ddl. I've written the code like this In footer of gridview i successful … | |
Re: You need to add the reference of that dll in bin folder by right clicking on bin folder and Add reference Then create an object of the class present in that dll through which you can access the properties of it. | |
| |
Re: Hey dude i also had that requirement to pass a value to other thread What i did was i prepared a separate class for the destination thread and then called the destination thread with parameters in the source thread's class. Thats the only way how u can pass parameters to … | |
Re: [QUOTE=jrm5f2;1066356]Hello, I am trying to post data from one page to another, I keep getting an error message every time I run the code "Object reference not set to an instance of an object.". Please help [CODE] Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If … | |
Re: I would suggest u to give id and make the table runat server then find the control (HTML table) in .cs page and then u can set its properties from ur .cs page | |
Re: [QUOTE=MrDavo;1062295]Hi Everyone, I am seeing the following error message whilst attempting to access a website that is hosted on my workstation computer (127.0.0.1) Error Type: Microsoft OLE DB Provider for SQL Server (0x80004005) [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied. C:\INETPUB\WWWROOT\INTRANET\..\connection.asp, line 12 If anybody can shed some … | |
Re: [QUOTE=abby524;1063915]Hi, I'm a newbie, having problems creating a feedback form that will be sent to me via email after the client fills it out, any help would be great! When I choose ctrl f5 to take a look and test, I'm getting the below error message: A page can have … | |
Re: [QUOTE=15389049;1053597]I am creating a page to search for a user in a database and display the results in a gata grid (Which i have done) Then i would like to select one of the results and use this record by holding it as a variable and pass it back into … | |
Re: [QUOTE=witinnovation;1063568]I have read the article that how to create waiting page but not understand properly anyone can post one more example of waiting page in ASP.net[/QUOTE] Instead of using waiting page use Update Progress of AJAX that will make ur life very easy | |
Re: Use the following code it works fine for me [CODE] ImageUrl='<%#Server.MapPath(@"~\uploadedImages\"+DataBinder.Eval(Container.DataItem, "SmallImg"))%>' [/CODE] [QUOTE=love_dude1984;1059868]hi im trying to upload a file with the help of fileupload control. im using following code to save the file in to the database [code] upPic.SaveAs(Server.MapPath("Images/") + txtPrdId.Text.Trim() + ".jpg");//System.IO.Path.GetExtension(upPic.PostedFile.FileName)); [/code] the file gets saved perfectly..but … | |
Re: Hi, Use the following code i am sure it will help you [code] private static Control FindControlRecursive(Control Root, string Id) { if (Root.ID == Id) return Root; foreach (Control Ctl in Root.Controls) { Control FoundCtl = FindControlRecursive(Ctl, Id); if (FoundCtl != null) return FoundCtl; } return null; } [/code] | |
Re: The best way to edit the gridview is to write the code in its RowDataBound event [B] Example :[/B] [code]protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { for (int j = 0; j < e.Row.Cells.Count; j++) { e.Row.Cells[j].Style.Add("BORDER-BOTTOM", "#aaccee 1px solid"); e.Row.Cells[j].Style.Add("BORDER-RIGHT", "#aaccee 1px solid"); e.Row.Cells[j].Style.Add("padding-left", "5px"); } }[/code] I Hope … | |
Re: Hi Deepa !!! visit this link i use it for javascript validation It has code with how to impliment it [url]http://www.javascript-coder.com/[/url] [QUOTE=deepas;1047581]i'm looking for the demo projects for developing web app using c#.net 2005 as i'm new with web developments... i've begin connecting with database(sql 2005) now i need for … | |
Re: [QUOTE=misslilbit02;1050510]ok this is my scenario. I've never coded in asp.net. I can manipulate it a little bit because I have some coding knowledge but I don't know what I am doing so I need help figuring out how to do this. This is what I'm trying to do...I have this … | |
Re: I think the problem is with your IIS or the way u are creating your virtual directory I suggest you to try and make a virtual directory on some other machine and try to execute [QUOTE=pradeep.singh28;1040115]I am trying to run my web project on Localhost but the browser is not … | |
Re: First check if you have marked auto generated columns true or not then see whether u have written Gridview.Databind() or not one of these may solve your problem dude :-) [QUOTE=mshravs;1042448]i am working on the gridview, the problem, it that when i am executing the form containing the gridview, the … | |
Re: Use the following code in ur head tag <script language="JavaScript" type="text/javascript"> javascript:window.history.forward(1); </script> [QUOTE=eimmu;1040698]i have made 2 pages....1 for login n next to show after successful login.... on login page i have created a button....in its handler i have created session.... on the load event of next page i m … | |
Re: Dude i think you should use gridview to display ur result and there you have a property to set paging which will make ur life easy [QUOTE=yara.008;1040965]hi i use asp.net with vb.net i do search form i put result in placeholder how i can create dynamic page such that : … | |
Re: [QUOTE=comp_231;397172]Hi, I have been trying to transfer some data from one page to another but nothing seems to work. Data is not being passed to the next page. Can anyone tell me a reason why this could happen?[/QUOTE] HI u can use querystring,session,hidden field ,cookies... | |
Re: You can access a perticular colum in dataset by ds.Tables[0].Rows[0]["Columnname"].ToString() You can access a particular column of gridview in its Rowdatabound event Hope one of it may help u [QUOTE=smd5049;1039193]will someone please help me with this. It seems simple enough but I'm very new to asp and vb. I have … | |
Re: Images can be easily added to a gridview using Template fields Try using it that will solve ur problem. [QUOTE=sakhi kul;1040640]Hi to all, I want to show image in gridview, So generic handler is needed, but when I am adding it using add New Item dialog, It doesn't show generic … |
The End.