15,890,282 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 Member 11956239 (Top 21 by date)
Member 11956239
23-Jan-17 23:29pm
View
in the above code i want to validate date doesn't allow the feature date and don't allow the 22/9/2016 before this past date
Member 11956239
23-Jan-17 23:27pm
View
<asp:TemplateField HeaderText="Distribution Start Date">
<itemtemplate>
<asp:TextBox ID="txtD" runat="server" Height="15px" MaxLength="50" onpaste="return false;"
onkeydown="return false;" Width="150px">
<ajaxControl:CalendarExtender ID="calExtDOB" runat="server" Enabled="True" Format="dd/MM/yyyy"
TargetControlID="txtD">
Member 11956239
23-Jan-17 0:34am
View
<%-- <asp:BoundField DataField="EFF_DATE" HeaderText="Date Of DISTRIBUTED STARTED" HeaderStyle-CssClass="allWidth100"
DataFormatString="{0:d}" ItemStyle-HorizontalAlign="Center" ControlStyle-CssClass="txtCommon allWidth80 txtCenter" />
<asp:templatefield>
<itemtemplate>
<asp:Label runat="server" ID="lnl1" Text='<%#DataBinder.Eval(Container.DataItem, "EFF_DATE").ToString()%>'>
<edititemtemplate>
--%>
Member 11956239
2-Nov-16 9:57am
View
My aim is want insert that data into the database
Member 11956239
11-Jan-16 4:18am
View
MOdel
>>>>>>>>>>>>>
using System.Linq;
using System.Web;
using System.Data;
using System.Data.SqlClient;
using System.ComponentModel.DataAnnotations;
namespace ResumeServicesApplication.Models
{
public class Model_tbl_user_personal_details
{
public int user_personaldetails_id { get; set; }
[Display(Name = "User Id")]
public int user_id { get; set; }
[Display(Name = "First Name")]
public string user_firstname { get; set; }
[Display(Name = "Middle Name")]
public string user_middlename { get; set; }
[Display(Name = "Last Name")]
public string user_lastname { get; set; }
[Display(Name = "Father Name")]
public string user_fathername { get; set; }
[Display(Name = "Gender")]
public string user_gender { get; set; }
[Display(Name = "Temparary Address 1")]
public string user_temporary_add1 { get; set; }
[Display(Name = "Temparary Address 2")]
public string user_temporary_add2 { get; set; }
[Display(Name = "Temparary Address 3")]
public string user_temporary_add3 { get; set; }
[Display(Name = "Temparary State")]
public string user_temporary_state { get; set; }
[Display(Name = "Temparary Country")]
public string user_temporary_country { get; set; }
[Display(Name = "Temparary Pin")]
public string user_temporary_pin { get; set; }
[Display(Name = "Perminant Address 1")]
public string user_permanent_add1 { get; set; }
[Display(Name = "Perminant Address 2")]
public string user_permanent_add2 { get; set; }
[Display(Name = "Perminant Address 3")]
public string user_permanent_add3 { get; set; }
[Display(Name = "Perminant State")]
public string user_permanent_state { get; set; }
[Display(Name = "Perminant Country")]
public string user_permanent_country { get; set; }
[Display(Name = "Perminant Pin")]
public string user_permanent_pin { get; set; }
[Display(Name = "Date Of Birth")]
public DateTime user_dob { get; set; }
[Display(Name = "Prefered Location")]
public string user_prefered_location { get; set; }
[Display(Name = "Hobbies")]
public string user_hobbies { get; set; }
[Display(Name = "Created By")]
public string user_created_by { get; set; }
[Display(Name = "Created Date")]
public DateTime user_created_date { get; set; }
[Display(Name = "Modified By")]
public string user_modified_by { get; set; }
[Display(Name = "Modified Date")]
public DateTime user_modified_date { get; set; }
[Display(Name = "Active")]
public byte user_personaldetails_isactive { get; set; }
}
}
DAL
>>>>>>>>>>>>>>>>>>>>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
namespace ResumeServicesApplication.Models
{
public class DAL
{
SqlConnection _connectionDAL = new SqlConnection(ConfigurationManager.ConnectionStrings[Constents.connection].ConnectionString);
public int _SignUp(Model_tbl_user_personal_details _obj)
{
int active = 1;
int _result = 0;
_connectionDAL.Open();
SqlCommand _cmd = new SqlCommand("insert into tbl_user_personal_details values(@user_id,@user_firstname,@user_middlename,@user_lastname,@user_fathername,@user_gender,@user_temporary_add1,@user_temporary_add2,@user_temporary_add3,@user_temporary_state,@user_temporary_country,@user_temporary_pin,@user_permanent_add1,@user_permanent_add2,@user_permanent_add3,@user_permanent_state,@user_permanent_country,@user_permanent_pin,@user_dob,@user_prefered_location,@user_hobbies,@user_created_by,@user_created_date,@user_modified_by,@user_modified_date,@user_personaldetails
Member 11956239
11-Jan-16 3:04am
View
plese help me
Member 11956239
11-Jan-16 1:52am
View
mm/dd/yyyy
Member 11956239
11-Jan-16 1:49am
View
public DateTime user_created_date { get; set; }
..................................................
DAL
class{
_cmd.Parameters.AddWithValue("@user_created_date", _obj.user_created_date)
}
.......................................
in sql i have given datatype
DATE
Member 11956239
6-Jan-16 8:40am
View
i didn't get right solution
if u know could u please help me
#richard maccustchan
Member 11956239
6-Jan-16 8:39am
View
i didn't get right solution
if u know could u please help me
#richard maccustchan
Member 11956239
21-Dec-15 6:18am
View
i want to display my table data into the webgrid and also i want perform CRUD operations in mvc4
using the view engine aspx view engine
Member 11956239
16-Dec-15 5:55am
View
TQ gokulaprasad
Member 11956239
4-Dec-15 1:41am
View
i have posted my code in solution
how to play the videos by using video tag from database
#RyanDev
#Asif
Member 11956239
3-Dec-15 1:14am
View
<video width="320" height="240" controls="controls">
</video>
i have uploaded my videos into the database
i retrieve the data into the front end but
but my videos are not playing
how can i play by using above <Video> tag
plz
#anisuzzama
Member 11956239
3-Dec-15 1:06am
View
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Videos.aspx.cs" Inherits="Videos" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:FileUpload ID="FileUpload1" runat="server" />
<asp:Button ID="btnUpload" runat="server" Text="Upload" OnClick="btnUpload_Click" />
<asp:DataList ID="DataList1" runat="server" AutoGenerateColumns="false" CellSpacing="5" RepeatColumns="2" Visible="true">
<itemtemplate>
<video width="320" height="240" controls="controls">
</video>
<%# Eval("Name") %>
</div>
</form>
</body>
</html>
Member 11956239
18-Nov-15 23:11pm
View
i asked the interviewer ascx or asux he said "asux"..................
#RyanDev
Member 11956239
18-Nov-15 1:50am
View
i searched but i did't understand
Member 11956239
13-Nov-15 3:00am
View
yesterday i attended one interviewer asked a 1 question like
1.what is the constructor
2.what is use of constructor
3.can u tell me one real time example ????????????????????????
#CPallni
Member 11956239
5-Oct-15 1:26am
View
I want the code plz post the code #naveen.sanagasetti
Member 11956239
1-Oct-15 7:57am
View
i tryed that but
it didn't get right solution
Member 11956239
1-Oct-15 5:26am
View
MY aim is,i want deploy my application.
If i want deploy my application i need install installshield limited edition for visual studio.
But i am getting error like: ERROR READING SETUP INITIALIZATION FILE
thats is my problem
Show More