15,898,538 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Sajid227 (Top 147 by date)
Sajid227
11-Jan-19 13:58pm
View
Oh, is it? can we design something for its solution
Sajid227
11-Jan-19 12:11pm
View
Hi Thanks for your comment. this is project requirement, no a research work, client want a web site where user enter query and query is answered through trained model of nlp, like knowledge base chat bot in MS. Hope you understand now.
Sajid227
4-Aug-17 1:28am
View
I have done a test by disabling tls 1.0 on my local machine ,same thing is repeated. local machine with OS WIN 10,IIS above 7.0.
Sajid227
7-Apr-17 6:53am
View
thanx Genius of search.
Sajid227
21-Mar-17 4:37am
View
Nice explanation.I want to use this solution in web job in cloud.I want to run the code of this aspx page,which is written in page_load method.without showing page or console window to end user,will your propose solution help me this way?
Sajid227
28-Feb-17 8:01am
View
its time datatype
Sajid227
21-Feb-17 22:47pm
View
but problem is that if same location Id repeat again ,i have to show it in separate result,if i apply group by then it will group up all matching locationId,how can i solve this???
Sajid227
13-Feb-17 5:15am
View
A bundle of thank ,and pardon me having this lengthy chit chat....
Sajid227
12-Feb-17 22:56pm
View
this is basically web application,but at same time it is integrate with web services,to fetch and to serve data to to other applications,although I am very much clear about my question.but you let me know some tips that help me to design my plan of deployment that application,before moving to cloud.
Sajid227
10-Feb-17 6:22am
View
very briefly,I got your point.its mean without using caching we are able to upload files etc ,and that will be accessible to all user of all instances right after that. We are going to use MS Azure as well.and what if we use cache?
Sajid227
10-Feb-16 3:10am
View
my requirement is that when user browse a file ,then this file is ready to play how can i do this
Sajid227
10-Feb-16 2:45am
View
can you give me answer if u have got any idea?
Sajid227
10-Feb-16 2:18am
View
i tried this because as this is web application so file need virtual path
Sajid227
10-Feb-16 2:17am
View
i just want to play sound?ahaha give me path
Sajid227
6-Jan-16 4:15am
View
yes please,in fact i am reading a pdf file using itextsharp,and file uploadcontrol,because it is time consuming ,so i use a two textbox one show total pages of file selected,and show remaing pages of that file,i did it in window form just updating that textbox,i want to do this in web form,
Sajid227
6-Jan-16 4:15am
View
yes please,in fact i am reading a pdf file using itextsharp,and file uploadcontrol,because it is time consuming ,so i use a two textbox one show total pages of file selected,and show remaing pages of that file,i did it in window form just updating that textbox,i want to do this in web form,
Sajid227
29-Dec-15 14:16pm
View
i am using Fileupload Control??any code help ?
Sajid227
10-Dec-15 4:46am
View
harsh lines of guidelines are better for my growth in development.thnx
Sajid227
10-Dec-15 4:09am
View
refer some links plz
Sajid227
28-Nov-15 3:52am
View
yes there is white space,as i told before that i have to save values into db,so if index change then its hard to save proper index value into into proper column of db
Sajid227
27-Nov-15 4:55am
View
xxxxx_license
xxxxx
V: 0003
of mmm
User: xxx
Page No: 1
Date Wise New Regular License
Date: 26-11-2015
District: RAWALPINDI
Time: 15:16:22 FROM 26-11-2015 TO 26-11-2015
New NIC Applicant Name LP No App. Date User App. Type Allowed Vehicles
this portion is repeated through all file base on no pages,i want i file that has not that portion ,
Sajid227
25-Nov-15 2:47am
View
i have not read that book,but doing properly googling i have cleared up misunderstanding,done my job too.thanx again
Sajid227
17-Nov-15 5:33am
View
there are a number of record against one employee in this table ,i want to get last record of each employee in the list
Sajid227
16-Nov-15 0:29am
View
thanx sir ,i am going to follow your lines.
Sajid227
2-Oct-15 1:04am
View
i want that each time when employee is removed from the list ,remaining dropdownlist is updated ,showing those employee whose are not assinge yet like
pointname Employee pointname Employee
xxx 5 yyy 4
fff 3 mmm 2
sss 1
Sajid227
28-Sep-15 6:01am
View
its valaue exact when is in db,problem is at the end of event when go control back browser,it does not show any value
Sajid227
21-Sep-15 3:12am
View
plz any code help may you have in this way?
Sajid227
21-Sep-15 1:00am
View
how can i do it with grid view?where remove of employee is done i n selected index change ,and data is bounding on ondatabounding event?
Sajid227
16-Sep-15 0:56am
View
nice approach bro
Sajid227
3-Sep-15 0:44am
View
one point has just one employee at one time?
Sajid227
17-Aug-15 3:44am
View
1.there is may be no check box is selected or there are more than one check boxes is selected ,so i want that loop is execute only when more than one check boxes are selected or at least one check box is selected other wise it will leave it,
2.any way to optimize code that is using for dynamic text boxes:
Sajid227
3-Jul-15 0:42am
View
my question is when i retrieve image using empPicture.ImageUrl,and then try to save it in db,it can not save in the db
Sajid227
20-Jun-15 1:15am
View
then how to make it function properly?
Sajid227
4-Jun-15 1:07am
View
When I click on the button print button does not show any dialogue box for printing
Sajid227
21-May-15 6:59am
View
bro please change this into EF Query plz??
Sajid227
21-May-15 6:38am
View
what nice way of description,and correction,hmmmmmmm
Sajid227
9-May-15 4:15am
View
how??
Sajid227
27-Apr-15 3:05am
View
loop is working properly it fetch employee ,problem is that it is not showing all employee record in the report separatly
Sajid227
27-Apr-15 3:01am
View
u right it but problem is that i got just one record not three record separatly
Sajid227
27-Apr-15 3:00am
View
i got just one record from all employee in the report,i use remove so that when employee is used up then next employee its record goes to dataset
Sajid227
11-Apr-15 13:45pm
View
how to handle this
Sajid227
11-Apr-15 13:45pm
View
how to handle this
Sajid227
11-Apr-15 13:44pm
View
how to tackle this
Sajid227
11-Apr-15 1:21am
View
record is not updating in EmployeeCategory table//do you suggest me any other solution??
Sajid227
10-Apr-15 18:00pm
View
then why image is not displaying on the form when i retrieve the information about that employee
Sajid227
10-Apr-15 17:58pm
View
plz check this post i explained every thing in it hope you will get point
how to update sql table using other table
Sajid227
10-Apr-15 17:45pm
View
web form ,i want to save it first ,but when getting employee data for update purpose then image also show up on the form and can be replaced
Sajid227
10-Apr-15 17:25pm
View
EmployeeCategory tbl before update
id Emp_ID Sec_Id Cat_Id
1 111 1 2
if last ten records of that employee in DailyPerformance shows that his Cat_Id 'A' is more than 4 then EmployeeCategory table looks ;like
id Emp_ID Sec_Id Cat_Id
1 111 1 1
else remains unchanged
Sajid227
10-Apr-15 15:46pm
View
i want to update only category in the employee category table base on daily performance record
Sajid227
6-Apr-15 5:52am
View
in my guery first i got day from date,then checked it for even or odd,then base on EVEN OR ODD ,i want to change the category_Id of employee in EmployeeCategory table From 1 to 2 and from 2 to one.
Sajid227
6-Apr-15 4:08am
View
i am using following code
DateTime date = SafeConvert.ToDateTime(txtDate.Text);
Int16 day = Convert.ToInt16(SafeConvert.ToDateTime(txtDate.Text).Day);
if (day % 2 == 0)
{
var empcatone = (from ec in entities.EmployeeCategories where ec.Category_Id == 1 select ec).ToList();
foreach (var Empcatone in empcatone)
{
Empcatone.Category_Id = 2;
}
var empcattwo = _service.GetAllEmployeeCategory().Where(x => x.Category_Id == 2).ToList();
foreach (var Empcattwo in empcattwo)
{
Empcattwo.Category_Id = 1;
}
}
else if (day % 2 != 0)
{
var empcatone = _service.GetAllEmployeeCategory().Where(x => x.Category_Id == 2).ToList();
foreach (var Empcatone in empcatone)
{
Empcatone.Category_Id = 1;
}
var empcattwo = _service.GetAllEmployeeCategory().Where(x => x.Category_Id == 1).ToList();
foreach (var Empcattwo in empcattwo)
{
Empcattwo.Category_Id = 2;
}
}
pro\blem is that data is not updaing in respective column
Sajid227
27-Mar-15 0:26am
View
thanx bro i got this idea
Sajid227
26-Mar-15 1:07am
View
sir i have the following scenario, i want that when a user login in base on his last record from employee duty table in ddlsector that sector must be selected and user can not change it
Sajid227
26-Mar-15 1:04am
View
i want that when an employee login ,then base on his last sector record ,sector must be selected auto,and and user can not change it.
Sajid227
21-Mar-15 0:30am
View
yes EF FOR entity FRAMEWORK
Sajid227
19-Mar-15 0:25am
View
yes i have update the query according to my requirement,thats work fine,i explain you further,first i want to check Employee Category from employeecategory table,then from Emplyeestatus table i have to check employee latest status, then i have to allocated duty of that employee,and there are a number of employee that have same category ,and from employee status their latest records full fill a proper requirement ,i want to collect a list of all those employee then start allocation duties according,hope u got my point
Sajid227
18-Mar-15 7:01am
View
var qry1 = from ec in entities.EmployeeCategories.Where(x => x.Category_Id == 1 && x.Sector_Id == sectorId)
join es in entities.EmployeeStatus.Where(x => x.EmployeeShift_Id == 1 || x.EmployeeShift_Id == 2 && x.DutyType_Id == 3 && x.EmployeeStatusType_Id == 1) on ec.Employee_Id equals es.Employee_Id
group es by new { Cat = ec.EmployeeCategoryType_Id, EmpId = es.Employee_Id } into grp
select new
{
Cat = grp.Key.Cat,
EmpId = grp.Key.EmpId,
Es_Id = grp.Max(x => x.Id)
};
i am using this query its working good ,i want some modification, that how to get all employee latest records and check are they full filling this condition,here is my code that is full filling my needs,
.OrderByDescending(x => x.EndDate).GroupBy(x => x.Employee_Id).Select(x => x.LastOrDefault()).Where(x => x.DutyType_Id == 3 && x.EmployeeStatusType_Id == 1).ToList(); in employeeStatus table
Sajid227
18-Mar-15 6:34am
View
how to get list of all employee that full fill that requirement ?
Sajid227
18-Mar-15 2:56am
View
yes u right i want to get data from highest id of same employee,as there are multiple records of same employee
Sajid227
15-Mar-15 4:19am
View
is there any other eway to do this??
Sajid227
15-Mar-15 4:07am
View
i tried your code but problem is that it repeat same employee.i want that if there are 5 beats, and 4 emp are available ,then it fillup them,for last beat there will be a blank row against it.
Sajid227
13-Mar-15 3:19am
View
yes, i want to show total row base on beats,there is emp available, then it show up otherwise blank row show up??is there any method ?
Sajid227
13-Mar-15 1:45am
View
i have update the code ,i just want that when all employee against all beats fill up ,then it will move to else statement,
Sajid227
5-Mar-15 1:27am
View
u are rite ,i am using two server becoz of reason that you explain
Sajid227
5-Mar-15 1:26am
View
i am using same connection string ,my problem is that will we need any thing in my web config that tells the web server to connect with DB server?
<connectionstrings>
<add name="ConnString1" connectionstring="Data Source=yourSqlServerIP;Initial Catalog=YourDataBaseName;Integrated Security=True;" providername="System.Data.SqlClient">
Sajid227
18-Feb-15 1:31am
View
i mean this not function properly,the code i refer is bcoz mostly it is asked by member to tell them what i have done thats way i have put them
Sajid227
17-Feb-15 0:02am
View
yes u right,i just use it to check it is getting proper no records from database
Sajid227
6-Feb-15 4:46am
View
yes
Sajid227
6-Feb-15 2:31am
View
what??
Sajid227
23-Jan-15 14:51pm
View
i am using your option and storing record in these table,but i am getting record from this table EmployeeStatus,then retrive info and save this info into other record,problem is that there are a number of record against same employee,that same employee then repeated in different status,i just want that if just got last record then duplication will be end
Sajid227
23-Jan-15 14:37pm
View
but problem is that i have to get all the employee having same status,so i want to get last record against each employee of same status
Sajid227
14-Jan-15 1:33am
View
i use improve qustion link to improve details
Sajid227
14-Jan-15 1:23am
View
i have update my question now plz helpm me now
Sajid227
14-Jan-15 1:22am
View
i have update my question plz help me now
Sajid227
6-Jan-15 19:12pm
View
whom?me or Kornfeld Eliyahu Peter,
Sajid227
6-Jan-15 18:33pm
View
what is it??fellow
Sajid227
6-Jan-15 15:34pm
View
how i insert it into database??
empStatus.IsDutiable = txtIsDutiable.Checked;
while saving its give error
Sajid227
4-Jan-15 13:53pm
View
I HAVE ANOTHER problem,there are three type of status type not two,like for some status type i have to show a,b,c,d fields,for other a,b,c and for last one just a,b ,then how to set them,your solution is working for two level.
Sajid227
3-Jan-15 20:04pm
View
both of your options are valid,i have checked this code in vs but its not works and also i need to implement it for multiple value of same drop down as explain above
Sajid227
1-Jan-15 6:18am
View
BRO THANX
Sajid227
31-Dec-14 5:26am
View
here is asp code of that form where i want to update the details
<label class="col-sm-2 control-label">
Roll No <span class="symbol required"></span>
</label>
<div class="col-sm-3">
<asp:DropDownList CssClass="form-control search-select" runat="server" MaxLength="7" ID="ddlRollNo" OnTextChanged="ddlRollNo_TextChanged" />
<asp:RequiredFieldValidator ValidationGroup="vgEmployee" runat="server" ID="rfvrOLL" ControlToValidate="ddlRollNo" Required="required">
<asp:Button CssClass="btn btn-green btn-block " ID="btn_Click" Width="150" runat="server" CausesValidation="True" Text="UpdateRecord" OnClick="btn_Click_Click"/>
</div>
protected void btn_Click_Click(object sender, EventArgs e)
{
var updateEmp = _service.GetAllEmployeeAbsent().Where(x => x.Emlopyee_Id == ddlRollNo.Text.ToString());
}
Sajid227
31-Dec-14 1:23am
View
we have a form that can be used to change the status of employee ,like if there are 100 employee in the office mostly 10 employee status will be changed ,all the status of all employee are saved in database,i need to implement sms service that send employee his status via sms.
Sajid227
29-Dec-14 17:07pm
View
no that is not my requirement ,when we drag a table to the report table format is horizental,header 2nd row is data,i asked that is any way that header and data displaying in vertical manner??
Sajid227
22-Nov-14 23:44pm
View
var empStatus = _service.GetAllEmployeeStatus().Where( X => X.Sector_Id == select count(distinct EmpstatusType_Id ) from EmployeeStatus where Sector_Id=@SectorId);
txtSpecialDuty.Text = empStatus.ToString(); THAT query is not working
how can i get it to work
Sajid227
21-Nov-14 1:06am
View
like against one sector there are some employee who may be absent,on leave or on medical, i just want show their no in the text box.
Sajid227
21-Nov-14 1:06am
View
like against one sector there are some employee who may be absent,on leave or on medical, i just want show their no in the text box.
Sajid227
13-Nov-14 5:16am
View
it return null
Sajid227
13-Nov-14 3:11am
View
plz check my new question,How Do I Get Total Employee By Tosector_Id,here is explain the question in better way to get me out.
Sajid227
13-Nov-14 0:30am
View
STILL that error
System.Linq.Enumerable+WhereSelectEnumerableIterator`2[System.Linq.IGrouping`2[System.Int16,CTP.HRMS.Business.EmployeeDuty],CTP.HRMS.Business.EmployeeCountByToSectorId]
Sajid227
13-Nov-14 0:03am
View
PLZ UPDATE YOUR ANSWER THAT WILL HELP ME
Sajid227
12-Nov-14 0:11am
View
after using your solution that message return in the field System.Linq.Enumerable+WhereSelectEnumerableIterator`2[System.Linq.IGrouping`2[System.Int16,CTP.HRMS.Business.EmployeeDuty],<>f__AnonymousType0`2[System.Int16,System.Int32]]
Sajid227
11-Nov-14 15:16pm
View
YES i want to calculate exactly
Sajid227
11-Nov-14 14:33pm
View
OK
Sajid227
11-Nov-14 2:06am
View
i debug it now after post back it return total no of records.thanx to all guys
Sajid227
29-Oct-14 4:42am
View
thanx
Sajid227
28-Oct-14 1:17am
View
THEN HOW CAN I MANAGE IT
Sajid227
27-Oct-14 16:51pm
View
protected void btn_Click_Click(object sender, EventArgs e)
{
try
{
if (!string.IsNullOrEmpty(txtRollNo.Text))
{
Employee emp = _service.GetAllEmployee().Where(x => x.Employee_Id == txtRollNo.Text).Last();
if (emp != null)
{
Console.WriteLine("Record Found");
}
else
{
Console.WriteLine("Record Not Found");
}
}
}
catch (Exception ex) { HandException(ex); }
after trying this code an excetion is occur that state Sequence contain no element
Sajid227
27-Oct-14 16:42pm
View
there is no display of given result,in both cases.after debugging it return null in both condition
Sajid227
27-Oct-14 6:54am
View
i also checked it using debugger
Sajid227
27-Oct-14 6:37am
View
is there another solution to check the record using linq
Sajid227
27-Oct-14 6:36am
View
Employee emp = _service.GetAllEmployee().Where(x => x.Employee_Id==Employee.Id).Last();
that return all field value null except for dates for both cases,if record is database or not
Sajid227
27-Oct-14 6:28am
View
same result,return record found in both cases.
Sajid227
27-Oct-14 6:13am
View
there is no error display by debugger
Sajid227
27-Oct-14 6:09am
View
null
Sajid227
27-Oct-14 6:05am
View
if i check it by entering any record that is in database or not in both case it return Record found
Sajid227
27-Oct-14 6:02am
View
Employee emp = _service.GetAllEmployee().Where(x => x.Employee_Id==Employee.Id).LastOrDefault();
that is new code.
Sajid227
27-Oct-14 6:01am
View
on any way that might be good
Sajid227
8-Oct-14 11:07am
View
nice thanx for guideline i will address it
Sajid227
3-Oct-14 6:01am
View
i was wrong i was putting fadeout in the wrong place in master page,now i put itas describe above now it is function nicely,thanx bro +5
Sajid227
3-Oct-14 5:46am
View
i have that code at the end of master page,u mean to say that i have to write code just like this
<script>
jQuery(document).ready(function () {
Main.init();
FormElements.init();
$('.alert').delay(1000).fadeOut();
});
</script>
am i rite???plz help me out
Sajid227
3-Oct-14 5:46am
View
i have that code at the end of master page,u mean to say that i have to write code just like this
<script>
jQuery(document).ready(function () {
Main.init();
FormElements.init();
$('.alert').delay(1000).fadeOut();
});
</script>
am i rite???plz help me out
Sajid227
2-Oct-14 17:40pm
View
how i use this solution to my save button,i.e if user click on save button then according to scenario message is display
http://www.codeproject.com/Tips/626350/Message-Popup-for-Errors-Warnings-Success-and-Info
Sajid227
2-Oct-14 14:08pm
View
<form runat="server" role="form">
<ajaxToolkit:ToolkitScriptManager runat="server">
<script>
{
$('.date-picker').datepicker({ dateFormat: 'dd/mm/yyyy' });
$('.search-select').select2();
$('.time-picker').timepicker();
$(".alert").alert().fadeOut(10000);
<%--$('<%=_alert.ClientID%>').alert().fadeOut(1000);--%>
}
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);
</script>
<asp:UpdatePanel runat="server" class="alert">
<contenttemplate>
<asp:Literal runat="server" >
<asp:ContentPlaceHolder runat="server" ID="MainContent">
when i use _alert then error and success message display,but when i click on close icon then it does not disappear ,if i use alert then no message display
Sajid227
2-Oct-14 4:13am
View
bro i have solved it thanx
Sajid227
1-Oct-14 14:19pm
View
i tried it by taking class in updatepanel but no effect. as i used _alert then message is displayed but it does not fade away instead required field message is displayed when i fill up form again then alert message is disappeared
Sajid227
1-Oct-14 13:52pm
View
thanx to all i got my goal
Sajid227
1-Oct-14 13:12pm
View
namespace CTP.HRMS.WebApp.Forms
{
public partial class EmployeeLeaveForm : PageBase
{
protected override string ModuleName
{
get
{
return "Employee Leave";
}
}
private Employee _employee;
private Employee Employee
{
get
{
if (_employee == null)
{
if (Request.QueryString["id"] != null)
{
_employee = _service.GetEmployee(Request.QueryString["id"].ToString());
}
if (_employee == null)
_employee = new Employee();
}
return _employee;
}
}
protected void Page_Load(object sender, EventArgs e)
{
if (!MyUser.CanAccess.LeaveRecord)
{
Redirect("/Forms/Redirected.aspx", "You do not have access to this page");
}
if (!Page.IsPostBack)
{
Page.Header.Title = "Please Enter New Leave Record:";
BindData();
// PopulateData();
}
}
protected void BindData()
{
// Fill all Dropdowns
ddlRollNo.Bind(_service.GetAllEmployee(), "IdName", "Id");
ddlLeaveType.Bind(_service.GetAllLeaveType());
ddlRank.Bind(_service.GetAllRank());
ddlAllotedBy.Bind(_service.GetAllAllotedBy());
}
//protected void PopulateData()
//{
// if ( Employee.Id != null)
// {
// EmployeeLeave empLeave = new EmployeeLeave();
// txtRollNo.Text = Employee.Id;
// txtRank.Text = Employee.Rank;
// ddlLeaveType.SelectedValue = empLeave.LeaveType_Id.ToString();
// txtAllotedBy.Text = empLeave.AllotedBy;
// txtStartDate.Text = empLeave.StartDate.ToString();
// txtEndDate.Text = empLeave.EndDate.ToString();
// txtCreationDate.Text = empLeave.CreationDate.ToString();
// }
//}
protected void btnSubmit_Click(object sender, EventArgs e)
{
try
{
EmployeeLeave empLeave = new EmployeeLeave();
empLeave.UserName = MyUser.UserName;
empLeave.EntryDate = DateTime.Now;
empLeave.Employee_Id = ddlRollNo.Text;
empLeave.Rank_Id = SafeConvert.ToByte(ddlRank.SelectedValue);
empLeave.LeaveType_Id = SafeConvert.ToByte(ddlLeaveType.SelectedValue);
empLeave.AllotedBy_Id = SafeConvert.ToByte(ddlAllotedBy.SelectedValue);
empLeave.StartDate = SafeConvert.ToDateTime(txtStartDate.Text);
empLeave.EndDate = SafeConvert.ToDateTime(txtEndDate.Text);
empLeave.CreationDate = SafeConvert.ToDateTime(txtCreationDate.Text);
_service.InsertEmployeeLeave(empLeave);
_queryStatus = empLeave.Id > 0;
}
catch (Exception ex) { HandException(ex); }
Redirect("EmployeeLeaveForm.aspx");
}
protected void btnCancel_Click(object sender, EventArgs e)
{
Response.Redirect("EmployeeLeaveForm.aspx");
}
protected void txtIsPaid_CheckedChanged(object sender, EventArgs e)
{
if (txtIsPaid.Checked == true)
{
EmployeeLeave empleave = new EmployeeLeave();
empleave.IsPaid = txtIsPaid.Checked;
}
}
}
}
Sajid227
1-Oct-14 6:07am
View
i tried your solution but still same result
Sajid227
1-Oct-14 6:07am
View
i tried your solution but still same result
Sajid227
1-Oct-14 6:06am
View
i tried your solution but still same result
Sajid227
30-Sep-14 13:56pm
View
<ajaxToolkit:ToolkitScriptManager runat="server">
<script>
{
$('.date-picker').datepicker({ dateFormat: 'dd/mm/yyyy' });
$('.search-select').select2();
$('.time-picker').timepicker();
$(".alert").alert().fadeOut(10000);
}
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);
</script>
and here in updatepanel
<asp:UpdatePanel runat="server">
<contenttemplate>
<asp:Literal runat="server" ID="_alert">
<asp:ContentPlaceHolder runat="server" ID="MainContent">
Sajid227
30-Sep-14 13:54pm
View
i have tried Your code but when i try to close alert message by clicking on cross button then different fields where required is used popup.
Sajid227
30-Sep-14 13:22pm
View
how to get client id in this situation
Sajid227
29-Sep-14 15:17pm
View
I WANT that as user enter the data jquery checked it and display error or successful message
Sajid227
6-Sep-14 15:27pm
View
BRO NON of them working image is dsave in database as binary data,i tried every thing that i knew but
Sajid227
1-Sep-14 6:31am
View
bro i have done this,and this is working fine on each page,my requirement is ahead of this. i want after doing this user will only see that page and enter the data in that form which is allowed to him from the database table,where i store all pages name and role Id against each page,hope you got point?/
Sajid227
1-Sep-14 6:30am
View
i just write name of pages in the table,how query work to fetch page or pages on this role Id
Sajid227
1-Sep-14 6:28am
View
bro i have done this,and this is working fine on each page,my requirement is ahead of this. i want after doing this user will only see that page and enter the data in that form which is allowed to him from the database table,where i store all pages name and role Id against each page,hope you got point?/
Sajid227
1-Sep-14 6:28am
View
bro i have done this,and this is working fine on each page,my requirement is ahead of this. i want after doing this user will only see that page and enter the data in that form which is allowed to him from the database table,where i store all pages name and role Id against each page,hope you got point?/
Sajid227
1-Sep-14 6:06am
View
thanx bro your guess is true,i will keep your words in mind,sorry to WES aday,plz Forgive me
Sajid227
31-Aug-14 21:51pm
View
keep cool down ,u r my senior i respect u ,if can help that makes me thankful to you.
Sajid227
31-Aug-14 21:48pm
View
if getting knowledge from any one is begging then i am biggest beggar ,and if u feel pain of posting and system abusing teasing u then ans me and become a good teacher,all we here playing for good reason
Sajid227
31-Aug-14 21:39pm
View
Role table is link both User Access and log in table.
User Access and Log in both have column name Role_Id.
Sajid227
31-Aug-14 19:44pm
View
bro is any problem with you>> if i am posting Question,its mean may be i'm getting what i want??/or any one else ask me to explain Question,if u got my point then explain me answer, i donot like u start counting my posts.be care full
Sajid227
29-Aug-14 14:20pm
View
i'm using sql server
Sajid227
28-Aug-14 18:02pm
View
im not figer out where to start it, and how handle this problem,i'm totally blank
Sajid227
28-Aug-14 16:28pm
View
problem 1 is .admin of site does not has developing knowledge,he wants to give user access by just putting 1 or zero against each page title which i have created in the table of Page access with user role_id,that is requirement by admin.plz adjust it with the web that this can b e implemented,
i think after log in user will check his status from this table,and if there are 1 or 2 page access is granted using 1 or zero by admin then on front end in menu link only these form must be display.
Sajid227
28-Aug-14 15:06pm
View
i want solution of this trouble do u like to give example of similar problem so that i get out from this problem
Sajid227
28-Aug-14 3:47am
View
bro will u send a demo code so that i can implement it,for my requirment
Sajid227
28-Aug-14 3:33am
View
only one drop down .but value of that drop down different for every year, we have to get the drop down value from year of date ,
Sajid227
28-Aug-14 3:30am
View
plz will u send code for this solution as a example. i like ur answer
Sajid227
27-Aug-14 20:27pm
View
THERE are two field at front end date is independent field but drop down is depend on the value of date entered,if user enter of any year from 2009 upto now,the dropdown must update itself accordingly,how can i do that
Sajid227
27-Aug-14 19:06pm
View
bro, i have a field on front end of my application followed by a drop down, i just want that if user enter date like 10-10-2009 or any date from year 2009,2010,2011,2012,2013 etc the dropdown will be show the entries of that year from database table etc.
Sajid227
27-Aug-14 19:05pm
View
this is my problem
Sajid227
27-Aug-14 18:55pm
View
yes u r rite bro,another problem is that admin of this application has zero knowledge of development ,he do not want custom solution of this problem,he asked me to set up in this way by entering 0 or 1 in the database table of page access he can enable or disable user to that page
Sajid227
27-Aug-14 18:50pm
View
bro, i have a field on front end of my application followed by a drop down, i just want that if user enter date like 10-10-2009 or any date from year 2009,2010,2011,2012,2013 etc the dropdown will be show the entries of that year from database table etc.
Sajid227
27-Aug-14 18:46pm
View
le,
Show More