16,015,518 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 .NET 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 jeevakumar.T (Top 36 by date)
jeevakumar.T
14-Jan-15 1:06am
View
No , i got error only run time. I give input on my project show this error friend.
jeevakumar.T
22-Dec-14 7:38am
View
Thank,Can I Install Crystal Report before installation of my project on client System.
jeevakumar.T
22-Dec-14 7:09am
View
i need to Complete installation for My project on client Systems. i have 10 customer.they didn't have Crystal Reports.how can install my project without crystal report software. but i used crystal reports my project. That's all Friend.
jeevakumar.T
17-Nov-14 4:32am
View
Thanks,Some time i get all values form tables otherwise I give some column empty values.how can i avoid empty column values on run time.I ask Dynamic crystal Report and Detail Section passing parameter method only.
jeevakumar.T
17-Nov-14 4:07am
View
Yes i know.how to arrange the detail section on run time?
jeevakumar.T
17-Nov-14 3:59am
View
I Mean to Join Tables.
jeevakumar.T
27-Oct-14 0:32am
View
Yes i want to check box in my report friend
jeevakumar.T
23-Sep-14 2:13am
View
Thanks,I Need A Windows form application
jeevakumar.T
22-Sep-14 5:07am
View
Internal Data base.It located in Bin Folder.
jeevakumar.T
22-Sep-14 3:08am
View
Thanks Friend,Please give me any example links
jeevakumar.T
4-Sep-14 1:11am
View
Thanks Friend
jeevakumar.T
10-Jul-14 1:57am
View
form1()
public List<string> myList = new List<string>();
public string txt;
private void button2_Click(object sender, EventArgs e)
{
try
{
foreach (DataRowView drv in listBox2.Items)
{
txt = (drv.Row[listBox2.DisplayMember].ToString());
// StringBuilder s = new StringBuilder(txt);
myList.Add(txt);
}
}
form2()
form1 sp = new form1();
public List<string> myList1 = new List<string>();
public string tx;
public void addtabpage()
{
tx = sp.myList.ToString();
// myList1.Add(sp.myList.ToString());
myList1.Add(tx);
TabControl tabControl = new TabControl();
tabControl.Dock = DockStyle.Fill;
foreach (string c in myList1)
{
TabPage tabPage = new TabPage();
tabPage.Text = c.ToString();
if (tabPage.Text == "DRILLING")
{
UserCtrlSample sam = new UserCtrlSample();
sam.Dock = DockStyle.Fill;
tabPage.Controls.Add(sam);
}
tabControl.Controls.Add(tabPage);
}
this.Controls.Add(tabControl);
}
}
i select multiple value in listbox but it pass only SYSTEM.COLLECTION.GENERIC.LIST"1[SYSTEM.STRING]
this my problem please help how can i pass the listbox values.
jeevakumar.T
10-Jul-14 1:35am
View
yes windows form
jeevakumar.T
10-Jul-14 1:34am
View
i am not using constructor.i am using only public variable to pass another form but it didn't work.
jeevakumar.T
8-Jul-14 10:22am
View
It is working properly very thank you...
i have error on this line only sir,Index was outside the bounds of the array.
how can i solve this one ?
TabControl tc1 = (TabControl)this.Controls.Find("DynamicTabControl", true)[0];
jeevakumar.T
8-Jul-14 10:11am
View
add the tap pages time. i create tap control but i do no how to add tap pages.
jeevakumar.T
28-Jun-14 8:14am
View
Yes It is Correct sir Thanks.But i have another Question.i have 2 forms(form 1,form 2)OK.
form 1 i have 4 check box(ch1,ch2,ch3,ch4) and form 2 i have One Tab control(4 tab pages) .If i checked multiple check box(eg:ch1,ch2) in Form 1.After it will go to Form 2 show Tab control Tab pages(eg:tp1,tp2).how to i get that sir.
Thanks By
Jeeva
jeevakumar.T
26-Jun-14 6:52am
View
thanks i have designed brother.
jeevakumar.T
26-Jun-14 6:51am
View
thanks i have designed brother.
jeevakumar.T
26-Jun-14 2:47am
View
Deleted
I am fresher so i ask it OK.Thanks you !
jeevakumar.T
26-Jun-14 2:33am
View
Deleted
I need a Main page Project name for Header and Copy right for Footer. how to i create it and which control i use it.
jeevakumar.T
7-Jun-14 3:19am
View
yes,I give this one txtdatofaten.Text = Server.HtmlDecode(row.Cells[3].Text);
jeevakumar.T
7-Jun-14 2:26am
View
I stored table column name DateTime Not null default (getdate()).
jeevakumar.T
21-Mar-14 7:03am
View
this is not my code i am just try and get code from on website.
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Facebook login</title>
<script src="http://code.jquery.com/jquery-latest.js" type="text/javascript">
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<table align="center"><tbody>
<tr> <td align="center" style="color: #33ccff; font-size: large; font-weight: bold; text-transform: capitalize;"></td></tr>
<tr> <td align="center" style="margin-top: 350px;"><script type="text/javascript">
// Load the SDK Asynchronously
(function (d) {
var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0];
if (d.getElementById(id)) { return; }
js = d.createElement('script'); js.id = id; js.async = true;
js.src = "//connect.facebook.net/en_US/all.js";
ref.parentNode.insertBefore(js, ref);
} (document));
// Init the SDK upon load
window.fbAsyncInit = function () {
FB.init({
appId: '1402660203333505', // App ID
channelUrl: '//' + window.location.hostname + '/channel', // Path to your Channel File
status: true, // check login status
cookie: true, // enable cookies to allow the server to access the session
xfbml: true // parse XFBML
});
// listen for and handle auth.statusChange events
FB.Event.subscribe('auth.statusChange', function (response) {
if (response.authResponse) {
// user has auth'd your app and is logged into Facebook
FB.api('/me', function (me) {
if (me.name) {
document.getElementById('auth-displayname').innerHTML = me.name;
}
})
document.getElementById('auth-loggedout').style.display = 'none';
document.getElementById('auth-loggedin').style.display = 'block';
} else {
// user has not auth'd your app, or is not logged into Facebook
document.getElementById('auth-loggedout').style.display = 'block';
document.getElementById('auth-loggedin').style.display = 'none';
}
});
$("#auth-logoutlink").click(function () { FB.logout(function () { window.location.reload(); }); });
}
jeevakumar.T
7-Mar-14 6:47am
View
ya it helped.i used DateTime.Now value and null value also used.it worked correctly.
thank by jeeva
jeevakumar.T
7-Mar-14 2:32am
View
Thank you Friend
jeevakumar.T
7-Mar-14 2:32am
View
Thank you Friend
jeevakumar.T
4-Mar-14 4:56am
View
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Data;
using System.IO;
public partial class ProductImages : System.Web.UI.Page
{
SqlConnection con = new SqlConnection(@"Data Source=.\SQLEXPRESS;AttachDbFilename=D:\SVN\Ecommerce\App_Data\ECommerce.mdf;Integrated Security=True;User Instance=True");
//dbOperations objDO = new dbOperations();
DataTable dt = new DataTable();
//dbconnection objcon = new dbconnection();
//string strValue = string.Empty, status = string.Empty, strField = string.Empty;
//bool result;
SqlCommand objcmd = new SqlCommand();
//SqlDataAdapter objda = new SqlDataAdapter();
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
bind();
fillProduct();
}
public void conn()
{
if (con.State == ConnectionState.Open) con.Close();
con.Open();
objcmd.Connection = con;
}
protected void Save(object sender, EventArgs e)
{
conn();
string ImgSmall = Path.GetFileName(fileuploadimgsmall.PostedFile.FileName);
fileuploadimgsmall.SaveAs(Server.MapPath("ImagesSmall/" + ImgSmall));
string ImgLarge = Path.GetFileName(fileuploadimglarge.PostedFile.FileName);
fileuploadimglarge.SaveAs(Server.MapPath("ImagesLarge/" + ImgLarge));
objcmd = new SqlCommand("Insert into TBL_PDT_IMG(PDT_ID,IMG_NAME,IMG_DESC,PDT_IMAGE_SMALL,PDT_IMAGE_LARGE,IS_PRIMARY) values(@PDT_ID,@IMG_NAME,@IMG_DESC,@PDT_IMAGE_SMALL,@PDT_IMAGE_LARGE,@IS_PRIMARY)",con);
fillProduct();
objcmd.Parameters.AddWithValue("@PDT_ID", ddlproduct.SelectedValue);
objcmd.Parameters.AddWithValue("@IMG_NAME", txtimgname.Text.Trim());
objcmd.Parameters.AddWithValue("@IMG_DESC", txtimgdesc.Text.Trim());
objcmd.Parameters.AddWithValue("@PDT_IMAGE_SMALL", "ImagesSmall/" + ImgSmall);
objcmd.Parameters.AddWithValue("@PDT_IMAGE_LARGE", "ImagesLarge/" + ImgLarge);
objcmd.Parameters.AddWithValue("@IS_PRIMARY", chkstatus.Checked);
objcmd.ExecuteNonQuery();
bind();
}
public void fillProduct()
{
//conn();
try
{
SqlCommand cmd = new SqlCommand("select PDT_ID,PDT_NAME from TBL_PDT",con);
SqlDataAdapter da = new SqlDataAdapter(cmd);
DataTable dt = new DataTable();
da.Fill(dt);
ddlproduct.DataSource = dt;
ddlproduct.DataTextField = "PDT_NAME";
ddlproduct.DataValueField = "PDT_ID";
ddlproduct.DataBind();
// return dt;
}
catch (Exception ex)
{
}
}
public void bind()
{
conn();
//fillProduct();
//con.Open();
//// objcon.con.Open();
objcmd = new SqlCommand("select * from TBL_PDT_IMG LEFT OUTER JOIN TBL_PDT ON TBL_PDT_IMG.PDT_ID=TBL_PDT.PDT_ID", con);
SqlDataAdapter da = new SqlDataAdapter(objcmd);
DataSet ds = new DataSet();
da.Fill(ds);
//con.Close();
if (ds.Tables[0].Rows.Count > 0)
{
GridView1.DataSource = ds;
GridView1.DataBind();
}
// GridView1.DataSource = objcmd.ExecuteReader();
// GridView1.DataBind();
////objcon.con.Close();
// con.Close();
}
protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e)
{
try
{
if (e.CommandName == "Select")
{
// Img();
int index = Convert.ToInt32(e.CommandArgument);
GridViewRow row = GridView1.Rows[index];
lblpdtid.Text = GridView1.Rows[index].Cells[0].Text;
ddlproduct.SelectedItem.Text = GridView1.Rows[index].Cells[1].Text;
txtim
jeevakumar.T
4-Mar-14 1:43am
View
yes first i understand the pay pal and shopping cart.so i will read that document and understand the concept.so the document are very useful my career. thank you
jeevakumar.T
4-Mar-14 1:17am
View
Thank you
jeevakumar.T
4-Mar-14 0:59am
View
k thank you
jeevakumar.T
19-Feb-14 6:12am
View
http handler method
jeevakumar.T
18-Feb-14 9:19am
View
friend i am beginner of dot net developer.so please help me.i don't that coding .
jeevakumar.T
14-Feb-14 4:48am
View
Thank you!!!
jeevakumar.T
14-Feb-14 4:26am
View
This is ok fine friend but i am sorry friend how to call the Table A column1 value from Table B column2,column3 display Gridview? please help me friend!!!
jeevakumar.T
13-Feb-14 2:08am
View
I have another question Sir?
1)TBL_PDT(product)fields(pdt_id(prmary key),pdt_name,pdt_desc);
2)TBL_SIMILAR_PDT(similer product)fields(sim_id,pdt_id(foreign key<TBL_PDT>),sim_pdt_id(foreign key<TBL_PDT>),sim_desc);
how to call foreign key values pdt_id and sim_pdt_id for a same primary key table
Show More