Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
70% Quality Score
Upvotes Received
6
Posts with Upvotes
6
Upvoting Members
6
Downvotes Received
3
Posts with Downvotes
2
Downvoting Members
3
3 Commented Posts
0 Endorsements
Ranked #411
~61.3K People Reached
About Me

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

Member Avatar for Dimansu

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

Member Avatar for Eduardo_2
0
196
Member Avatar for Yzk
Member Avatar for reach_yousuf

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 …

Member Avatar for nakor77
0
1K
Member Avatar for bharanidharanit

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!!!

Member Avatar for Shilpakmthn
0
205
Member Avatar for nmakkena

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 & …

Member Avatar for tjaank
0
2K
Member Avatar for Netcode
Member Avatar for ramareddy_dotne

[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 …

Member Avatar for shahnawaz khan
0
850
Member Avatar for Nitin Daphale

[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 …

Member Avatar for Nitin Daphale
-1
273
Member Avatar for erum

[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!!!

Member Avatar for jugosoft
-1
78
Member Avatar for savitasagar

[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 …

Member Avatar for savitasagar
0
160
Member Avatar for baladeveloper

[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 = …

Member Avatar for reach_yousuf
-1
122
Member Avatar for erum

[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

Member Avatar for reach_yousuf
0
101
Member Avatar for kanuri1

[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 …

Member Avatar for crishjeny
0
102
Member Avatar for Sinha's

[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 …

Member Avatar for Sinha's
0
284
Member Avatar for devloper

[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 …

Member Avatar for crishjeny
0
1K
Member Avatar for Chris Ewe

Yes, Crapulency is not saying crap!!! Item 20 doesnot exist in this context sqlReader.GetValues(sqlReader.Item(20))

Member Avatar for kvprajapati
0
103
Member Avatar for srky

Pls. DEBUG your App to find where it's crashing [URL="http://support.microsoft.com/kb/316726"]Try this[/URL]

Member Avatar for Lusiphur
0
148
Member Avatar for jephthah

[QUOTE=radioads;1282851]So if i reply i think it meters. :D[/QUOTE] Its meters or matters, why should i care:D

Member Avatar for characteredu
0
174
Member Avatar for Bugaya

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]

Member Avatar for khansa74
0
177
Member Avatar for frmsasp

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

Member Avatar for nathantownsend
0
781
Member Avatar for laghaterohan

[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 …

Member Avatar for dnanetwork
0
158
Member Avatar for manibest

[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 …

Member Avatar for reach_yousuf
0
109
Member Avatar for Duki

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 …

Member Avatar for dream party
0
345
Member Avatar for kayfar

[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 …

Member Avatar for kayfar
-1
201
Member Avatar for clausont

Hi, Show your grid view mark up code and let us know what data you have in the grid view

Member Avatar for clausont
0
119
Member Avatar for akil007

[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!!!

Member Avatar for reach_yousuf
0
80
Member Avatar for AngelicOne

[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 = …

Member Avatar for AngelicOne
0
82
Member Avatar for khaled_jawaher

[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 …

Member Avatar for khaled_jawaher
0
160
Member Avatar for fadi-ft

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 …

Member Avatar for fadi-ft
0
171
Member Avatar for vmanes
Member Avatar for Member 785293

[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

Member Avatar for Ramesh S
0
285
Member Avatar for leverin4

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!!!

Member Avatar for Lusiphur
0
123
Member Avatar for maria_mj

[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 …

Member Avatar for maria_mj
0
234
Member Avatar for srky
Member Avatar for reach_yousuf
0
76
Member Avatar for hirenpatel53

[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) { …

Member Avatar for Lusiphur
0
136
Member Avatar for Lusiphur

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

Member Avatar for Lusiphur
0
163
Member Avatar for urvee

[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

Member Avatar for reach_yousuf
0
56
Member Avatar for lm111

[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 …

Member Avatar for lm111
0
117
Member Avatar for maria_mj

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> …

Member Avatar for rohand
0
671
Member Avatar for ypdev

[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 …

Member Avatar for ypdev
0
103
Member Avatar for bharatshivram

[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) …

Member Avatar for reach_yousuf
0
111
Member Avatar for umair.sabri

[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!!!

Member Avatar for dnanetwork
0
140
Member Avatar for iamchamith

[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 …

Member Avatar for reach_yousuf
0
159
Member Avatar for Pari13

[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 …

Member Avatar for reach_yousuf
0
231
Member Avatar for sureshrajanmca

[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 …

Member Avatar for sureshrajanmca
0
66
Member Avatar for HPN
Member Avatar for Sinha's

In your table make Primary Key columns as Identity columns as much as possible !!! Mark as solved if it helps you!!!

Member Avatar for kvprajapati
0
277
Member Avatar for laghaterohan

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!!!!

Member Avatar for laghaterohan
0
246
Member Avatar for ritesh2190

[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 & "'" …

Member Avatar for nebyas
0
74
Member Avatar for eXceed69

The End.