Click here to Skip to main content
13,197,796 members (44,680 online)

Comments by Ubaid ur Rahman IT (Top 65 by date)

Ubaid ur Rahman IT 7-Oct-13 2:59am View
   
Please can you help, i dont know what to do exactly.
Ubaid ur Rahman IT 7-Oct-13 2:59am View
   
Please can you give me the solution for this.
Ubaid ur Rahman IT 11-Jun-13 5:02am View
   
ya it shows error after removing welcome ... this is my code.

yourlabel.text= + dr.GetString(0)+" "+ dr.GetString(1);

can you please check this ? if its wrong please help me. am fresher.
Ubaid ur Rahman IT 11-Jun-13 4:27am View
   
can you please hlep me ...

its working fine, but i dont need this welcome mr in this code

yourlabel.text="Welcome, Mr." + dr.GetString(0)+" "+ dr.GetString(1);

can you please take out welcome mr and display first name and last name from this code.

thanks.
Ubaid ur Rahman IT 11-Jun-13 4:13am View
   
its working fine, but i dont need this welcome mr in this code

yourlabel.text="Welcome, Mr." + dr.GetString(0)+" "+ dr.GetString(1);

can you please take out welcome mr and display first name and last name from this code.

thanks.
Ubaid ur Rahman IT 5-Jun-13 6:55am View
   
can you please give me a solution for this ?

Thanks in advance.
Ubaid ur Rahman IT 5-Jun-13 6:54am View
   
ya, you are absolutely right.
Ubaid ur Rahman IT 5-Jun-13 5:33am View
   
ya its working but problem in scriptmanager popup(record already exists) this is not popup ing, and student details added is popup ing.

Please help,

Thanks.
Ubaid ur Rahman IT 5-Jun-13 4:50am View
   
actually, This is my code, it must check on add button click in Gridview footer.

This is my code.

Please can you add ur code here, in my code. am unable to understand.


protected void GV_UserEntry_RowCommand(object sender, GridViewCommandEventArgs e)
{
if (e.CommandName.Equals("AddNew"))
{
TextBox TxtRollNo = (TextBox)GV_UserEntry.FooterRow.FindControl("txtFooterRollNo);
TextBox TxtStudentName = (TextBox)GV_UserEntry.FooterRow.FindControl("txtFooterStudentName");
TextBox TxtStandard = (TextBox)GV_UserEntry.FooterRow.FindControl("txtFooterStandard");
TextBox TxtFathersName = (TextBox)GV_UserEntry.FooterRow.FindControl("txtFooterFathersName");
TextBox TxtMothersName = (TextBox)GV_UserEntry.FooterRow.FindControl("txtFooterMothersName");
TextBox TxtFamilyName = (TextBox)GV_UserEntry.FooterRow.FindControl("txtFooterFamilyName");
TextBox TxtLocation = (TextBox)GV_UserEntry.FooterRow.FindControl("txtFooterLocation");

con.Open();

SqlCommand cmd = new SqlCommand("INSERT into StudentDetailsTable (RollNo,StudentName,Standard,FathersName,MothersName,FamilyName,Location) VALUES ('" + TxtRollNo .Text + "','" + TxtStudentName .Text + "','" + TxtStandard .Text + "','" + TxtFathersName.Text + "','" + TxtMothersName.Text + "','" + TxtFamilyName.Text + "','" + TxtLocation .Text + "')", con);
int result = cmd.ExecuteNonQuery();
con.Close();


if (result == 1)
{
Bind_StudentDetails();
ScriptManager.RegisterStartupScript(this, this.GetType(), "RunCode", "javascript:alert('Student Details Added successfully');", true);
}

}


}


AND ALSO I NEED A POPUP MESSAGE, FOR RECORD ALREADY EXISTS.

Please help Osman bhai, its urgent THANKS.
Ubaid ur Rahman IT 5-Jun-13 4:20am View
   
ya, Rollno and StudentName must not be same.

suppose, if Same Rollno and StudentName already exists in database. Show error MSG. (Sorry, this record already exists, Please try another).

If it is new record, it must save in database otherwise already exist error.

Please help

thanks.
Ubaid ur Rahman IT 5-Jun-13 4:07am View
   
Osman brother, I need.... Same record must not be inserted. which is already in database. when add button click in gridview footer...

by the way above is my code.

Please help thanks.
Ubaid ur Rahman IT 5-Jun-13 3:59am View
   
This is Intranet Application. Please I need it here only.

Please can you help me how to do this.
Ubaid ur Rahman IT 26-May-13 5:43am View
   
what is meant by EF ?
Ubaid ur Rahman IT 19-May-13 16:04pm View
   
No Error, But am unable to display a message, if record not exists in gridview while item selected from dropdown.

I need a message if records not found when item selected selected from dropdownlist.

Please help, thanks.
Ubaid ur Rahman IT 7-May-13 1:29am View
   
sorry this is not working & it shows error near string.equals like this.......

An object reference is required for the non-static field, method, or property 'object.Equals(object)'

Please help

Thanks.
Ubaid ur Rahman IT 29-Apr-13 2:46am View
   
sorry, this is not working. please help.
Ubaid ur Rahman IT 24-Apr-13 2:14am View
   
MashaAllah, Thanks Firdouse
Ubaid ur Rahman IT 22-Apr-13 2:49am View
   
hello, can anybody help me regarding this problem.

Thanks.
Ubaid ur Rahman IT 22-Apr-13 2:37am View
   
Sorry boss, this doesn't work
Ubaid ur Rahman IT 21-Apr-13 6:38am View
   
I want to use one required field validator for two textboxes inside gridview footer textboxes.
please help OriginalGriff..........
Ubaid ur Rahman IT 21-Apr-13 6:30am View
   
These textboxes are in gridview footer.

please can u help me how to do this.

thanks.
Ubaid ur Rahman IT 17-Apr-13 4:38am View
   
boss, i cant able to download Oracle Instant Client

please help.
Ubaid ur Rahman IT 17-Apr-13 3:53am View
   
boss, am using Sqlserver 2005 database, so how to connect Sqldatabase to oracle database using this code.

Where should i put this code in Sqldatabase,,by the way am working on .Net c# Sqlserver2005.

SAHYDTAMS =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.15.100.113)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.15.100.114)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = TAMSAPP)
)
)

I need to connect from Sqldatabase to oracle database.

please help

thanks.
Ubaid ur Rahman IT 17-Apr-13 3:53am View
   
boss, am using Sqlserver 2005 database, so how to connect Sqldatabase to oracle database using this code.

Where should i put this code in Sqldatabase,,by the way am working on .Net c# Sqlserver2005.

SAHYDTAMS =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.15.100.113)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.15.100.114)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = TAMSAPP)
)
)

I need to connect from Sqldatabase to oracle database.

please help

thanks.
Ubaid ur Rahman IT 16-Jan-13 5:26am View
   
Thanks Vani
Ubaid ur Rahman IT 16-Jan-13 5:26am View
   
Thankyou
Ubaid ur Rahman IT 27-Oct-12 3:31am View
   
Hello mr. Amir Mohammad...what exactly you needs............
Already you took bakup and now You need to Restore the Database ? ? right
Ubaid ur Rahman IT 6-Oct-12 5:38am View
   
Ya i know in Databound event.

But Please tell me, WhereEver I find FAIL in Total Gridview it must change the cell background to Red.

Please help.
Ubaid ur Rahman IT 1-Oct-12 7:34am View
   
Go to options at the left side of sqlserver.

Click options->Give the correct path as C:\........ and at last give as .mdf and in other box as .ldf

This will help u.
Ubaid ur Rahman IT 25-Sep-12 6:22am View
   
Please help me boss. am fresher.

thanks
Ubaid ur Rahman IT 25-Sep-12 6:21am View
   
ok mr ehsan use this

<style type ="text/css">
.round
{
-webkit-border-radius:15px;
-moz-border-radius:15px;
}
</style>

in your table use this as
<table class="round">

This will help you
Ubaid ur Rahman IT 9-Sep-12 3:10am View
   
Textboxes must be same as it is....when checkbox checked user can enter into textbox.

Please help.

Thanks.
Ubaid ur Rahman IT 9-Sep-12 3:08am View
   
Boss Boss................

Enable Textboxes when checkbox checked.
Ubaid ur Rahman IT 6-Aug-12 6:59am View
   
First Display 2011 records and then 2012 records.....see this, I need Exactly like this

01\01\2011
01\01\2011
02\01\2011
16\01\2011
26\01\2011
31\01\2011
02\01\2012 -
05\01\2012
06\01\2012
11\01\2012
15\01\2012
11\02\2012
Ubaid ur Rahman IT 6-Aug-12 6:55am View
   
yes, i have defined paging in my GRIDVIEW. I need dates in ascending order I have lot of 2011 and 2012 records in my GRIDVIEW.

also I have a dropdownlist above GRIDVIEW, when i select Datevalidfrom from dropdownlist.......... DATEVALIDFROM column must be Sorted


Please Please Please help.

Thanks in ADVANCE.
Ubaid ur Rahman IT 6-Aug-12 5:56am View
   
My dear Friend, this is not sorting.........First it displays 2012 records and while paging on another pages 2011, 2012.....its not sorted....Please help
Ubaid ur Rahman IT 6-Aug-12 4:54am View
   
how to write your query in my query ......please help.
Ubaid ur Rahman IT 6-Aug-12 4:53am View
   
This is my query

SqlDataAdapter dad3 = new SqlDataAdapter("select ClearanceNumber, CodeFlightId, DateLastChange, DateValidFrom,"
+ "DateValidTo, ReservationNo, AircraftType, CityCode, Days from Flight order by DateValidFrom", con);

Please help
Ubaid ur Rahman IT 6-Aug-12 4:31am View
   
is it column name ?
Ubaid ur Rahman IT 6-Aug-12 4:31am View
   
what is datefrom here
Ubaid ur Rahman IT 6-Aug-12 4:26am View
   
already i have use dataviews sort method.........but its not sorting
Ubaid ur Rahman IT 23-Jul-12 5:54am View
   
Am using radio button list, how to do this.
Ubaid ur Rahman IT 18-Jul-12 4:13am View
   
Now, its working fine..........Thanks a lot for helping
Ubaid ur Rahman IT 18-Jul-12 3:21am View
   
Boss it is displaying like this 18/00/2013 This is my code.

Text='<%#Eval("ExpiryDate","{0:dd/mm/yyyy}") %>'/>

It is displaying 00 instead of month.


Please help
Ubaid ur Rahman IT 18-Jul-12 2:55am View
   
but its displaying 7\18\2012........... I need like this 18\7\2012 Please help.

Thanks
Ubaid ur Rahman IT 18-Jul-12 2:52am View
   
Thank you My Sweetest Friend, Its working Fine.
Ubaid ur Rahman IT 18-Jul-12 2:41am View
   
Boss am using this, Please check it


<asp:TemplateField HeaderText="IssueDate">
<itemtemplate>
<asp:Label runat="server" ID="TxtIssueDate" Text='<%#Eval("IssueDate") %>'/>



<edititemtemplate>
<asp:TextBox runat="server" ID="TxtIssueDate" Text='<%#Eval("IssueDate") %>' />

<asp:RequiredFieldValidator runat="server" ID="rfdIssueDate" ControlToValidate="TxtIssueDate" ValidationGroup="var1" ErrorMessage="*" />


Ubaid ur Rahman IT 17-Jul-12 7:07am View
   
ya, its correct Sandeep
Ubaid ur Rahman IT 9-Jul-12 6:03am View
   
Boss, I need to check the Users Check Availability from Database, whether its Exists of not.

Please help me.

Thanks.
Ubaid ur Rahman IT 8-Jul-12 4:12am View
   
Thank you Soooooooooooooo much boss, its Working.
Ubaid ur Rahman IT 8-Jul-12 1:53am View
   
and the other links are Working Perfectly, Only one link, when i click this link.. it shows the above error.
Ubaid ur Rahman IT 8-Jul-12 1:52am View
   
Please can you tell me in detail, am unable to understand about this problem.
Ubaid ur Rahman IT 5-Jul-12 3:29am View
   
Hello Mr Suman, its not working.

I took a label and applied ur code.
Ubaid ur Rahman IT 5-Jul-12 3:27am View
   
Boss, I have did everything, Just I need a Message Daily for Password Expire.

I database I have Field as Expiry Date.

Please tell me boss, waiting for your answer.
Ubaid ur Rahman IT 4-Jul-12 7:11am View
   
Thanks, it is Working Fine.
Ubaid ur Rahman IT 4-Jul-12 6:59am View
   
Please I need In Asp.net Web application. I need to calculate with Expiry date.

Already I have Created User...In that i have fields Issue date and Expiry Date.

Just I need to display a message with label

" your password will Expire on this particular date" and leftover days are 22 like this.

Please help me.
Thanks.
Ubaid ur Rahman IT 4-Jul-12 4:55am View
   
Sorry

Replace with 2013
Ubaid ur Rahman IT 4-Jul-12 4:54am View
   
Hello Sir, Where should we write this code. Just I need to display this Message in Welcome Page after User Logged in.

that, " your password will expire on 04/july/2012 and left days are 364.

Please tell me boss, its Urgent.

Thanks.
Ubaid ur Rahman IT 25-Jun-12 4:42am View
   
and also I have a problem, Generally Users login and close the browser....so how to do this.

Please help me my dear friends.
Ubaid ur Rahman IT 25-Jun-12 4:41am View
   
ya sure, you are right.

In case of user not active.....it should be logout automatically.

So how to do this automatically logout.

Please show me.
Ubaid ur Rahman IT 25-Jun-12 1:42am View
   
Dear Where should we write this solution 2 code....i mean in which page. Bcoz am also facing same problem with browsers.
Ubaid ur Rahman IT 20-Jun-12 7:37am View
   
Please can u show me, how to do this...Thanks
Ubaid ur Rahman IT 19-Jun-12 3:06am View
   
Boss !!

Listen to me, I need like this ??

Design Page
===========
Label -> LabelId - lblmessage

Code behind page
=================
Page_load

lblMessage.Text = "Last Updated at : " + DateTime.Now.AddMinutes(-60).ToLongTimeString();


Just I need to blink the time for every 5 minutes....This label should blink only 10 seconds and go.


Thanks Please help me.
Ubaid ur Rahman IT 19-Jun-12 2:46am View
   
Helloo Boss !! where should we write this code....I mean in Which Page.
Ubaid ur Rahman IT 16-May-12 4:59am View
   
can u please display ur design and code page here....lets we check and give ua perfect answer.

Advertise | Privacy |
Web04 | 2.8.171020.1 | Last Updated 1 Jan 1900
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid