No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I'm an asp.net web developer.
- Interests
- programming, swimming, basketball, mvc, asp.net
16 Posted Topics
Re: But why you are trying to create your own code? There are repeater, listview, datalist, gridview ...etc. Best way is to use these controls. But if you want to code your own control it's simple again. Just write foreach or for loop and create dynamic table or div. StringBuilder sb … | |
Re: You can use webrequest method and regex. This regex can take anything between p tags. <(?!\/?p(?=>|\s.*>))\/?.*?> | |
Re: In my suggestion, you can put label to cell and fill, then check label is empty or not. | |
Re: C:\Users\itdept\Desktop\webmaster\image\Desert.jpg Is it your client computer right? Do you use asp:fileupload? Another solution: You can split this string and you can get just one you need. Here is: [CODE]string[] path = fileupload.Postedfile.filename.split('/');[/CODE] | |
Re: If you want to secure application you can write both two languages. But .Net is much more secure than Php and also much more fast than Php. Web application developing is not expensive in .Net. Everone told this but you can use expression editions. These are free. | |
| |
Re: There is no message box in asp.net. You can use this one. [CODE]Page pageCurr = HttpContext.Current.Handler as Page; if (pageCurr != null) { ScriptManager.RegisterStartupScript(pageCurr, pageCurr.GetType(), "aKey", "alert('" + "you message" + "');", true); }[/CODE] | |
Re: You can check using sessions if admin or he/she. Maybe you can use like this. If admin session is admin, if others session is user. In repeater itemdatabound you should control the session and define your button and textbox. If session is admin show delete button, else show edit button. … | |
Re: You should define image in repeater itemdatabound. And then you can give events to image. In repeater you can define like HtmlImage img = e.item.FindControl("img") as HtmlImage; or Image img = e.item.FindControl("img") as Image; | |
Re: Did you try Session("menu").ToString()? | |
Re: I don't know the exact solution but I think it's ok. It should be like that. Because you click button and give some job and F5 repeat last job. | |
Re: Try this: Convert.ToString(myDate); | |
Re: And if you want to read session value try this. string something = Session["your_session"].ToString(); | |
Re: First in page_load event you must fill first repeater. After that in first repeater itemdatabound fill second repeater. In itemdatabound you need to define second repeater like: [CODE]Repeater secondone = e.item.findcontrol("secondone") as Repeater;[/CODE] | |
| |
Re: It will help you. http://www.kad1r.com/article.aspx?articleId=45&Category=ASP.Net&title=Get-MasterPage-control-in-different-aspx-page |
The End.