- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 6
- Posts with Upvotes
- 6
- Upvoting Members
- 6
- Downvotes Received
- 3
- Posts with Downvotes
- 2
- Downvoting Members
- 3
Hi, this is yousuf, working as a software developer in Riyadh, Saudi Arabia. I have spent 6+ years in IT industry, Skills used ASP.NET , SQL SERVER, AJAX, VB.NET, VB 6, ORACLE 8i , Active Reports & Crystal reports etc. Developed various systems…
171 Posted Topics
Re: Hi renukavani Just wrap you code in asp:panel like this... .aspx [code] <asp:Panel ID="Panel1" runat="server" DefaultButton="Button1"> <asp:Label ID="Label1" runat="server" Text=""></asp:Label> </asp:Panel> <asp:Button ID="Button1" runat="server" Text="Button" /> <asp:Button ID="Button2" runat="server" Text="Button" /> [/code] Mark as solved if it helps you | |
Hi I would like to use contentpage controls from master page. the senario is like this... I have project with master page and master page has a webusercontrol. webusercontrol has button. when webusercontrol button is clicked. the content page's text box should have a focus on it. Button is wrapped … | |
Re: Hi Try this [code]lbltext.Text = FileUpload1.PostedFile.FileName [/code] FYI refer this article [url]http://forums.asp.net/t/1077850.aspx[/url] Mark as solved if it helps you!!! | |
Re: Hi there This peace of code can be handy to deal with file extensions. [CODE] Public Shared Function GetFileName(ByVal Path As String) As String Try Dim RetVal As String Dim dt As String dt = Format(Date.Today, "yyMMdd") RetVal = Path & "\" & dt & ".xls" 'RetVal = Path & … | |
Re: [QUOTE=ramareddy_dotne;122520]I have 3 textboxes in my webform.I want my user to enter valid entries into them. If user leaves any textbox empty.I want Give him an alert to him (like a msgbox in vb.net).I'm using textboxes in asp.net(web server controls).I dont want to use the validation controls as they wont … | |
Re: [QUOTE=Nitin Daphale;1444843]In my project I need to open file dialog so that user can select local image file on his machine. I need to access that local file and rename it and FTP that file on server. What is the best way to that? I have already used FileUpload control … | |
Re: [QUOTE=erum;1440440]i need to convert datetime in asp.net like this 11/01/05[/QUOTE] [URL="http://www.daniweb.com/forums/thread266278.html"] try this[/URL] mark as solved if it helps you!!! | |
Re: [QUOTE=savitasagar;1440529]How to create exe file in ASP.NET application(for web based application). I know for windows application but i dont know for web application[/QUOTE] Its seems your are new to asp.net, there are no .exe file for asp.net but .dll files will be generated upon build (compile) your webapp. Mark as … | |
Re: [QUOTE=baladeveloper;1438922]How to show the Empty Grid view in asp .net .... it possible then please tell me how?. thanks in advance Bala..[/QUOTE] I assume your purpose that you wanted to show header and footer of gridview even if there is no row. [code] if (dtFunding.Rows.Count != 0) { grdFunding.DataSource = … | |
Re: [code] Dim no_single_room As Int32 = CType(DirectCast(dataItem.FindControl("txt_single"), TextBox).text , Int32) no_double_room As Int32 = CType(DirectCast(dataItem.FindControl("txt_double"), TextBox).text, Int32) [/code] Try this code....this should work | |
Re: [QUOTE=kanuri1;1084401]hi frnds, i had got a problem,,,,,,, when iam retriving the data from database uising an condition it will shows the data appropriately... if the conditional value not in the database it will doesnot show any error....... here iam acessing the data from database using serial number condition,,,,, if the … | |
Re: [QUOTE=Sinha's;1402472]Hello Frends I am getting an error. The details are follows, -------------------------------------------------------- [COLOR="Green"][B]ERROR:[/B][/COLOR] Exception Details: System.FormatException: Input string was not in a correct format. Source Error: Line 36: if (rdr.Read()) Line 37: { [COLOR="Red"][B]Line 38: matured_month = Convert.ToInt32(rdr.GetString(0));[/B][/COLOR] Line 39: matured_year = Convert.ToInt32(rdr.GetString(1)); Line 40: conn.Close(); --------------------------------------------------------- [COLOR="Green"][B]CODE:[/B][/COLOR] protected void … | |
Re: [QUOTE=devloper;1366708]i m new in asp.net.. asp.net CheckBoxList control does not have the CheckBoxList.CheckedItems.Count like the one in the windows Application. i am manually converting a windows app to asp.net , i need to use the functionally of that Method .. any help please[/QUOTE] Check out these prop, and wrap it … | |
Re: Yes, Crapulency is not saying crap!!! Item 20 doesnot exist in this context sqlReader.GetValues(sqlReader.Item(20)) | |
Re: Pls. DEBUG your App to find where it's crashing [URL="http://support.microsoft.com/kb/316726"]Try this[/URL] | |
Re: [QUOTE=radioads;1282851]So if i reply i think it meters. :D[/QUOTE] Its meters or matters, why should i care:D | |
Re: Hi there try connection pooling . It may help you [CODE]<add key="DBConnection" value="Data Source=10.100.50.93;Initial Catalog=billing_production;User Id=sa;Password=;Pooling=true;Min Pool Size=2;Max Pool Size=60;Connect Timeout=180"/>[/CODE] | |
Re: Hi there Take a look at this code ... it might be helpfull [CODE] 'dg = datagrid Dim chkSelect As checkbox For i = 0 To dg.Items.Count - 1 chkSelect = Me.dg.Items(i).FindControl("chkSelect") If chkSelect.Checked Then _doStuff() else _doOtherStuff end if next i [/CODE] Yousuf | |
Re: [QUOTE=laghaterohan;1287357]Hello, I want suggestion as to how to do the following: 1) In my current scenario,when a particular user fills a form which contains one field as manager and saves the details that manager receives an email stating that u have a request. This email also contais an URL which … | |
Re: [QUOTE=manibest;1288455]Hi all I am developing a page where user can insert update delete his information. I am doing as follows when user clicks the "Delete" button, a MsgBox pops and asks to confirm the delete process. if (user clicks "yes" in msgbox) system deletes the information. else system does not … | |
Re: Hi geeks of all sexes I strongly believe that girls presence would make a lot of difference in any organization, as guys will take a lot of care doing things, so that they do not look dump infront of gals!!! I "wish" to work under a female Tech manager (as … | |
Re: [QUOTE=kayfar;1276347]i've a problem here where when i logout i still can click back..can anyone solve my problem?[/QUOTE] hi there You can use this logic in master page page_Load event [code] Private Sub IsUserAuthenticated() If Me.Context.User.Identity.IsAuthenticated = False Then Response.Redirect("~/Login.aspx") End If End Sub [/code] When the user press browsers back … | |
Re: Hi, Show your grid view mark up code and let us know what data you have in the grid view | |
Re: [QUOTE=akil007;1280133]I have Two panel One have Login control and in another user control. First user login then usercontrol is open so I am try in Login_loggedin event fire delegate which in parent control of both to visible panel but not shown[/QUOTE] Hi Akil, Show your code please!!! | |
Re: [QUOTE=AngelicOne;1279329]How to do this? Some said I need to use requiredfieldvalidators for this. Will these affect my other validation with no requiredfieldvalidators?[/QUOTE] Hello AngelicOne, You can do this easily via server side code Check out this [code] if mycheckbox.checked = true then if textbox1.text.trim = string.empty or _ textbox2.text.trim = … | |
Re: [QUOTE=khaled_jawaher;1279337]i am writing an application on my pc considered as client, to insert record on a microsoft access database on another pc that u can consider it as server, that has static ip address remotely.i can ping the remote address of the pc that i want to access without problems.the … | |
Re: Hi fadi jbisono is right, you can fetch all records at once and fill in single dataset and then you can filter dataset .., Here is the code [code] dim ds as new dataset ds = GetData() '// you logic which fetches data using SP once '// Now filter the … | |
| |
Re: [QUOTE=peace2010;1268632]HI I'm looking for a good and fast tab control to use in my ASP C#.Net application. Any suggestion is appreciated[/QUOTE] Hi [URL="http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/Tabs/Tabs.aspx"]Try Ajax Tabcontainer[/URL] Regards | |
Re: Hi Go thru the links ,this might help you!!! [URL="http://social.msdn.microsoft.com/forums/en-US/csharpgeneral/thread/6adca20b-649f-41a4-8fa1-09534882d76c"]http://social.msdn.microsoft.com/forums/en-US/csharpgeneral/thread/6adca20b-649f-41a4-8fa1-09534882d76c[/URL] [URL="http://forums.asp.net/t/675515.aspx"]http://forums.asp.net/t/675515.aspx[/URL] Mark as solved if it helps you!!! | |
Re: [QUOTE=maria_mj;1261672]I want to retrieve session value(username) from the login page. I have to verify the user by their username to make the access right control for certain page. In my application, i want to control the access right to "ViewAllProject.aspx" page. I have save the username in session in login … | |
Re: Hi srky To my knowledge it may be possible with datalist control. | |
Re: [QUOTE=hirenpatel53;1258633][CODE] using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Data; using System.Data.SqlClient ; using System.Web; public partial class _Default : System.Web.UI.Page { static DataTable dtvalues =new DataTable(); protected void Page_Load(object sender, EventArgs e) { // dtvalues.Columns.Clear(); if (!Page.IsPostBack) { … | |
Re: Hi lusiphur The error message is straight forward, there is no row when you navigate forward i suggest you to set a break point and debug | |
Re: [QUOTE=urvee;1256272]hello, we are given 2 options for the project.. either in vb-oracle or in php-mysql. i wan to know which one is better ?[/QUOTE] Hi Urvee It depends upon your skill Proficiency, if your are good in vb-oralce go for it or vise-versa. good luck | |
Re: [QUOTE=lm111;1254765]Hi, I need help binding the DataTable to the GridView. Let's say I have this code [code] string filter = String.Format("title LIKE '{0}'", str); DataRow[] rows = dt.Select(filter, "title"); Gridview1.DataSource = ?; Gridview1.DataBind(); [/code] I need to display only the filtered items in the GridView. What do I assign to … | |
Re: Hi Maria_mj 1) U should set ShowFooter="True" property of the gridview 2) Convert your intended Column to TemplateField by rt. clicking on grid , ShowSmartTag, Edit Column, "Convert this field into TemplateField" linkbutton 3)your code should look similar in .Aspx [code] <asp:TemplateField HeaderText="Total"> <EditItemTemplate> <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("Total") %>'></asp:TextBox> … | |
Re: [QUOTE=ypdev;1247190]Hi Everyone, I developed a page with [URL="http://freetextbox.com/"]FreeTextBox[/URL] object which allows update text using rich text format. Now, If I type "TEST 123" and submit the data - works fine. If I type "TEST 123' and submit the data - I recieve the following error: Syntax error (missing operator) in … | |
Re: [QUOTE=bharatshivram;830807]hi i am using vs 2005 asp.net c#. there is a database in which i perform the select max(col) operation in sql, how can i lock the database such that when 1 user is performing this operation, others will not be able to access the page( carry out insert operation) … | |
Re: [QUOTE=umair.sabri;1243885]i want this on page load previous page[/QUOTE] No need to write anything on page Just paste the following code in your web.config under <system.web> section [code] <authentication mode="Forms"> <forms name="adAuthCookie" loginUrl="Login.aspx" timeout="60"/> </authentication> <authorization> <deny users="?"/> </authorization> [/code] Marks as solved if it helps you!!! | |
Re: [QUOTE=iamchamith;1241947]Hi Friends, I am use asp.net with C#.net as code behind file... I put asp Dropdown list box to my aspx page.. when at run i select item from Dropdown list box and refresh or post back this aspx.the value of Dropdown become first...How i get previous value...I want dropdown … | |
Re: [QUOTE=Pari13;1241825]Hello All, I have problem in popup page using ajax in asp.net. I have one P1.aspx page.Onclick event of Hyperlik on P1.aspx How to Popup page P2.aspx(Which is Interface for inserting value in database) using Ajax. also how to passed parameter using querysting in hyperlink. Thanks All In advanced. Wait … | |
Re: [QUOTE=sureshrajanmca;1240533]Question 1. I am using ASP.NET master pager, in IE8 i am unable to set the Default button focus.[/QUOTE] Hi Sureshrajanmca Pls. use page's PreRender event, it works for me... [code] Private Sub Default_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.PreRender Button1.Focus() End Sub [/code] Mark as solved … | |
| |
Re: In your table make Primary Key columns as Identity columns as much as possible !!! Mark as solved if it helps you!!! | |
Re: Hi, Just call this procedure in your Gridview 's rowediting event... [code] Private Sub _enable() Dim ddl As DropDownList ddl = ctype(GridView1.Rows(GridView1.EditIndex).FindControl("Dropdownlist1"), DropDownList) If Not IsNothing(ddl) Then ddl.Enabled = True End If End Sub [/code] Dont forget to mark as solved if it helps you!!!! | |
Re: [QUOTE=ritesh2190;1235251]myCommand.CommandText = "update Stutable set password as ('" & TextBox2.Text & "')"" where rollno = " & TextBox3.Text please can you tell me what is the error in the above statement iam using vb and access database[/QUOTE] [code] myCommand.CommandText = "update Stutable set password = '" & TextBox2.Text & "'" … | |
The End.