15,860,859 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 Rekhash (Top 61 by date)
Rekhash
30-Oct-13 3:12am
View
@thanh_bkhn
Checkout in the menu bar should appear only when there is something in the cart(eg. if you add to cart in products. then only it will display in checkout page in menu). otherwise checkout is invisible in menu section.
Rekhash
2-May-13 7:38am
View
@sri senthil kumar
will you give any refer website.
Rekhash
2-May-13 6:58am
View
@aspnet_regiis -I
@Rohan Leuva
@Rohan Leuva
In My project problem is server. i am having more than one from. i can use only html control.
Rekhash
2-May-13 6:54am
View
Deleted
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<!DOCTYPE HTML>
<!--
/*
* jQuery File Upload Plugin HTML Example 5.0.5
* https://github.com/blueimp/jQuery-File-Upload
*
* Copyright 2010, Sebastian Tschan
* https://blueimp.net
*
* Licensed under the MIT license:
* http://creativecommons.org/licenses/MIT/
*/
-->
<html lang="en" class="no-js">
<head>
<meta charset="utf-8">
<title>PrintApps-MultiView</title>
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/themes/base/jquery-ui.css" id="theme">
<link rel="stylesheet" href="css/jquery.fileupload-ui.css">
<link rel="stylesheet" href="css/style.css">
<link href="css/calendar-blue.css" rel="stylesheet" />
<link href="css/StyleSheet.css" rel="stylesheet" />
<link href="css/StyleSheet2.css" rel="stylesheet" />
<script src="js/jquery-1.4.1.min.js"></script>
<script src="js/jquery.dynDateTime.min.js"></script>
<script src="js/calendar-en.min.js"></script>
<script type="text/javascript">
$(function () {
$("#logout").click(function () {
window.location.replace("Logout.aspx");
window.onbeforeunload = CloseSession;
});
});
</script>
<script type="text/javascript">
$(document).ready(function () {
$("#TextBox8").dynDateTime({
showsTime: true,
ifFormat: "%m/%d/%y",
daFormat: "%l;M %p, %e %m, %Y",
align: "TL",
electric: false,
singleClick: false,
displayArea: ".siblings('.dtcDisplayArea')",
button: ".next()" //next sibling
});
});
</script>
<style type="text/css">
.auto-style1 {
width: 306px;
}
.auto-style2 {
width: 104px;
}
</style>
</head>
<body>
<div class="grid">
Print App
<div style="float:right;padding-right: 16px; height: 59px; margin-top: 0px;">
<div style="float:right; border-right: 1px solid #AAAAAA; padding-bottom: 15px;">
<asp:Label ID="Label1" runat="server" Text="Label" Font-Bold="True" CssClass="user_optns">
<div class="clear"></div>
<label id="logout">Logout</label>
</div>
</div>
<div id="fileupload">
<form id="form3" runat="server" enctype="multipart/form-data" >
<asp:Button Text="Upload" BorderStyle="None" ID="Tab1" CssClass="Initial" runat="server"
OnClick="Tab1_Click" />
<asp:Button Text="Payment" BorderStyle="None" ID="Tab2" CssClass="Initial" runat="server"
OnClick="Tab2_Click" />
<asp:Button Text="Enquiry" BorderStyle="None" ID="Tab3" CssClass="Initial" runat="server"
OnClick="Tab3_Click" />
Rekhash
2-May-13 6:53am
View
Deleted
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<!DOCTYPE HTML>
<!--
/*
* jQuery File Upload Plugin HTML Example 5.0.5
* https://github.com/blueimp/jQuery-File-Upload
*
* Copyright 2010, Sebastian Tschan
* https://blueimp.net
*
* Licensed under the MIT license:
* http://creativecommons.org/licenses/MIT/
*/
-->
<html lang="en" class="no-js">
<head>
<meta charset="utf-8">
<title>PrintApps-MultiView</title>
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/themes/base/jquery-ui.css" id="theme">
<link rel="stylesheet" href="css/jquery.fileupload-ui.css">
<link rel="stylesheet" href="css/style.css">
<link href="css/calendar-blue.css" rel="stylesheet" />
<link href="css/StyleSheet.css" rel="stylesheet" />
<link href="css/StyleSheet2.css" rel="stylesheet" />
<script src="js/jquery-1.4.1.min.js"></script>
<script src="js/jquery.dynDateTime.min.js"></script>
<script src="js/calendar-en.min.js"></script>
<script type="text/javascript">
$(function () {
$("#logout").click(function () {
window.location.replace("Logout.aspx");
window.onbeforeunload = CloseSession;
});
});
</script>
<script type="text/javascript">
$(document).ready(function () {
$("#TextBox8").dynDateTime({
showsTime: true,
ifFormat: "%m/%d/%y",
daFormat: "%l;M %p, %e %m, %Y",
align: "TL",
electric: false,
singleClick: false,
displayArea: ".siblings('.dtcDisplayArea')",
button: ".next()" //next sibling
});
});
</script>
<style type="text/css">
.auto-style1 {
width: 306px;
}
.auto-style2 {
width: 104px;
}
</style>
</head>
<body>
<div class="grid">
Print App
<div style="float:right;padding-right: 16px; height: 59px; margin-top: 0px;">
<div style="float:right; border-right: 1px solid #AAAAAA; padding-bottom: 15px;">
<asp:Label ID="Label1" runat="server" Text="Label" Font-Bold="True" CssClass="user_optns">
<div class="clear"></div>
<label id="logout">Logout</label>
</div>
</div>
<div id="fileupload">
<form id="form3" runat="server" enctype="multipart/form-data" >
<asp:Button Text="Upload" BorderStyle="None" ID="Tab1" CssClass="Initial" runat="server"
OnClick="Tab1_Click" />
<asp:Button Text="Payment" BorderStyle="None" ID="Tab2" CssClass="Initial" runat="server"
OnClick="Tab2_Click" />
<asp:Button Text="Enquiry" BorderStyle="None" ID="Tab3" CssClass="Initial" runat="server"
OnClick="Tab3_Click" />
Rekhash
2-May-13 2:54am
View
@walterhevedeich
in form having only one runat=serve. but we use in text box.
<asp:TextBox ID="TextBox9" runat="server"> it dispay error.
"A page can have only one server-side Form tag."
Rekhash
25-Apr-13 9:03am
View
@Achal Oza
It's Problem
Like that db Want to store. If userId 3 means change insert the vales 3 for Db in UserID
create proc Insert_fileinfo @userId bigint,@FileName nvarchar(30), @FileType nvarchar(30),@fileSize nvarchar(30),@filePath nvarchar(30),@statusId int
as
insert into fileInfo(userId,fileName,fileType,fileSize,filePath,statusId,createdOn)
values(
(select userID from fileInfo where
fileName=@FileName and fileType=@FileType and fileSize=@fileSize and filePath=@filePath and statusId=3 and createdOn=CURRENT_TIMESTAMP and userId=
(select userId from userInfo where userId=@userId)))
merge tables and insert values in FileInfo Table...
Rekhash
25-Apr-13 9:02am
View
@ThePhantomUpvoter
fileId userId fileName fileType fileSize filePath createdOn statusId lastModifiedOn
8 2 Asp notes.docx .docx 13539 2013-04-04-05-52\ 2013-04-04 17:52:20.173 6 NULL
9 3 Asp.net.docx .docx 14041 2013-04-04-05-52\ 2013-04-04 17:52:20.647 6 NULL
Like that db Want to store. If userId 3 means change insert the vales 3 for Db in UserID
Rekhash
25-Apr-13 7:37am
View
@ThePhantomUpvoter
I keep some code here.
Rekhash
25-Apr-13 7:36am
View
@PRAKASH9
Actually userid want to store in db.
Rekhash
25-Apr-13 7:35am
View
using Microsoft.Win32;
using System;
using System.Data;
using System.Data.SqlClient;
using System.Diagnostics;
using System.IO;
using System.Web;
namespace AjaxControlToolkit
{
public class FilesStatus
{
public string keyid;
SqlConnection con = new SqlConnection("Data Source=.;Initial Catalog=PrintApp_Apr_2;Integrated Security=True");
public void storeFileInfo(string fileName, string savedFileName, int FileSize, string FileType)
{
//string query2 = "INSERT INTO fileInfo(userId,fileName,filePath,FileSize,FileType,createdOn,StatusId,LastModifiedOn) VALUES (1,@FileName,@savedFileName,@FileSize,@FileType,current_timeStamp,1,current_timeStamp)";
string query2 = "INSERT INTO fileInfo(userId,fileName,fileType,fileSize,filePath,statusId,createdOn) VALUES (@userId,@FileName, @FileType,@fileSize,@filePath,3,@createdOn)";
string u_id = "select userId from userInfo where email='" + keyid + "'";
SqlCommand command = new SqlCommand(query2, con);
SqlCommand command1 = new SqlCommand(u_id, con);
con.Open();
command1.ExecuteNonQuery();
Int64 user_id = ((Int64)command1.ExecuteScalar());
command.Parameters.Add("@FileName", SqlDbType.VarChar, 60);
command.Parameters["@FileName"].Value = fileName;
command.Parameters.Add("@userId", SqlDbType.BigInt);
command.Parameters["@userId"].Value = user_id;
command.Parameters.Add("@filePath", SqlDbType.VarChar, 60);
command.Parameters["@filePath"].Value = savedFileName;
command.Parameters.Add("@FileSize", SqlDbType.VarChar, 60);
command.Parameters["@FileSize"].Value = FileSize;
command.Parameters.Add("@FileType", SqlDbType.VarChar, 60);
command.Parameters["@FileType"].Value = FileType;
command.Parameters.Add("@createdOn", SqlDbType.DateTime, 70);
command.Parameters["@createdOn"].Value = DateTime.Now;
command.ExecuteNonQuery();
}
}
}
Rekhash
25-Apr-13 7:02am
View
@AlluvialDeposit
Cannot Able to store email in db
Rekhash
24-Apr-13 4:46am
View
Deleted
http://stackoverflow.com/questions/3112301/how-to-convert-aspx-page-into-html-page
Rekhash
23-Apr-13 1:58am
View
@Member61
i want add in the form.
<table style="width: 100%; border-width: 1px; border-color: #666; border-style: solid">
<tr>
<td>
<form id="form4" runat="server" enctype="multipart/form-data" >
//here i want to implement coding in html form
</form>
</td>
</tr>
</table>
Rekhash
17-Apr-13 5:20am
View
@Rasik Banta
Ya.. i elaborate my question.
Rekhash
17-Apr-13 5:20am
View
@Vani Kulkarni
Ya.. i elaborate my question.
Rekhash
16-Apr-13 3:42am
View
@PRAKASH9 i implement already. It's showing Same error
Rekhash
10-Apr-13 5:40am
View
@KM Perumal
i tried 4 ways in grid view... If i click page2 means it wont move page 1 to page 2
Rekhash
10-Apr-13 5:20am
View
@PetarS089 i am using tabs controls in aps.net
Rekhash
10-Apr-13 1:34am
View
@PrashantSonewane i tried it is also not working...
Rekhash
9-Apr-13 8:31am
View
@TusharKhairnar
i am doing in asp.net using c#
Rekhash
9-Apr-13 8:18am
View
@_Amy
in gridview in 1,2,3.. if i click page 2 .. it cannot display page...
Rekhash
9-Apr-13 8:01am
View
@_Amy
if(Session["table"]!=-null) -- this operator can not be operand.. it showing error in page...
Rekhash
9-Apr-13 7:49am
View
@_Amy
it is not coming...
Rekhash
9-Apr-13 7:49am
View
@ryanb31
in gridview in 1,2,3.. if i click page 2 .. it cannot display page...
Rekhash
9-Apr-13 7:37am
View
@_Amy it cannot able to dispaly in the second page in gridview...
Rekhash
9-Apr-13 1:58am
View
@_Amy
ya.. tried .. it is also not working...
Rekhash
9-Apr-13 0:36am
View
@_Amy. no error..
i want display in gridview like this
fileInfo -header
fileSize
FileType
Rekhash
9-Apr-13 0:23am
View
@_Amy It is not working...
i want display in gridview in
fileInfo -header
fileSize
FileType
Rekhash
9-Apr-13 0:12am
View
@_Amy i use stored proc..
alter PROC Grid_getAlldata @email nvarchar(50)
AS
BEGIN
SELECT fileInfo.fileName, convert(varchar(40),fileInfo.fileSize) +'\n'+convert(varchar(40), fileInfo.fileType) as fileInformation, fileInfo.filePath,
fileInfo.createdOn,fileInfo.statusId,status.statusName FROM fileInfo INNER JOIN status ON fileInfo.statusId=status.statusId where userId=
(SELECT userId From userInfo where email=@email)
END
Rekhash
8-Apr-13 23:39pm
View
@PRAKASH9
string query = "select f.fileName,(f.fileType + '' + f.fileSize)as fileInfo,f.filepath,f.createdOn,f.statusId,s.statusName from fileInfo As f left join status As s on f.statusId=s.statusId where userId=(select userId from userInfo where email ='" + key + "')";
how to write in stored proc and filetype and filesize merge into one one column. in same column it will display like this
filetype
filesize
Rekhash
8-Apr-13 6:54am
View
@Karthik Harve
it is not runing,... please suggest any other ways,..
Rekhash
8-Apr-13 6:22am
View
@PRAKASH9 will U suggest another answer...
Rekhash
8-Apr-13 6:18am
View
@Karthik Harve html source code
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="user_info.aspx.cs" Inherits="jQueryUploadTest.user_info" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Uploaded Files</title>
</head>
<body>
<form runat="server">
<asp:GridView ID="GridView1" runat="server" OnRowDataBound="GridView1_RowDataBound" >
</form>
</body>
</html>
Rekhash
8-Apr-13 6:08am
View
@Karthik Harve
HI did u ask in source code... i post here check that and say correct answer..
Rekhash
8-Apr-13 6:07am
View
public partial class user_info : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
BindData();
}
}
private void BindData()
{
string key = Session["email"].ToString();
string query = "select f.fileName,(f.fileType + '' + f.fileSize)as fileInfo,f.filepath,f.createdOn,f.statusId,s.statusName from fileInfo As f left join status As s on f.statusId=s.statusId where userId=(select userId from userInfo where email ='" + key + "')";
da = new SqlDataAdapter(query, Connection);
table = new DataTable();
da.Fill(table);
GridView1.DataSource = table;
GridView1.DataBind();
}
}
}
Rekhash
8-Apr-13 6:05am
View
@PRAKASH9 it is not working,..
Rekhash
8-Apr-13 6:02am
View
@Karthik Harve. i am bind values in gridview1 in code Behind
Rekhash
8-Apr-13 5:27am
View
@Karthik Harve.
ya sure.. it display value like this filesize<BR>filetype
Can give any ideas about output comes like this
filesize
filetype
Rekhash
8-Apr-13 5:13am
View
@Karthik Harve it is not working..
Rekhash
8-Apr-13 5:05am
View
@sri senthil kumar the problem is that i cant use iframe in my application.
Rekhash
8-Apr-13 4:44am
View
@PRAKASH9 Thanks Friend..
How to make new line of Combine Data like
data1
data2
Rekhash
8-Apr-13 2:41am
View
@Anil Limbani Thanks Friend...
Rekhash
8-Apr-13 2:40am
View
@Member 8136496 Thanks Friend
Rekhash
5-Apr-13 1:47am
View
@Sandeep Mewara
i improved My question..
Rekhash
5-Apr-13 1:44am
View
@Maciej Los
i tried in subquery also
select statusId from status where statusId=(select statusId from fileInfo where userId =(select userId from userInfo))
It display error like this
Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.
Rekhash
5-Apr-13 1:30am
View
Deleted
if user can select more than one status id .. please say stored proc for this
Rekhash
5-Apr-13 1:29am
View
Deleted
FileInfo table :
<pre>fileId UserId fileName fileType fileSize StatusId
8 2 Asp notes.docx .docx 13539 2
9 2 Asp.net.docx .docx 14041 2
10 2 create database G2O.docx .docx 39484 2
11 2 Introduction to ASP.docx .docx 16451 2
12 2 Master Page.docx .docx 13514 2
13 2 page without refresh.docx .docx 16124 2
14 2 paper sizes new.doc .doc 421888 3
15 2 Paper sizes.docx .docx 103226 2
16 2 Printing Type.doc .doc 37888 3
17 2 promote product.docx .docx 17358 2
18 2 promote products.docx .docx 14723 2
19 2 rekha.docx .docx 14023 2
20 2 screenshot creator.docx .docx 13784 2
21 2 Sql server 2008 in index.docx .docx 16505 2
22 2 SQL Server sp.doc .doc 46592 3
23 2 Table.xlsx .xlsx 15177 4
24 2 task-3.docx .docx 17494 2
25 2 today_index.docx .docx 14271 2
26 2 Top eCommerce Websites in India.docx .docx 13798 2
27 2 top ten web analystic.docx .docx 14019 2
28 2 use test.docx .docx 15294 2
30 2 zoomit.png .png 218944 1
31 2 Literal and Label Controls.docx .docx 16141 2
32 2 Master Page Overview.docx .docx 12976 2
33 2 map.xlsx .xlsx 11692 4
34 2 Key Elements of BuddyPress.docx .docx 183234 2
35 2 Index.docx .docx 13299 2
36 2 Blend Application.docx .docx 13470 2
37 2 WPF Website.doc .doc 26112 3
38 2 wpf in links.doc .doc 22016 3
39 2 WPF in blend appln.doc .doc 25600 3
40 2 url.png .png 1711 1 </pre>
if userId is 2 can select Multiple file depending upon the status id is 1,2,3,4.
Rekhash
4-Apr-13 7:53am
View
@ryanb31 if we click tabs 1 means loading in small box.. so that i need in ajax
Rekhash
4-Apr-13 7:41am
View
@ryanb31 http://jetlogs.org/jquery/jquery_ajax_tabs.html#[^].
if i click in tabs means loading function will appear in tabs1 or tabs2 or tabs3...
Rekhash
4-Apr-13 7:33am
View
@ryanb31 I give one example in website like that in my website also,if i click in tabs means loading function will appear in tabs1,tabs2 ,tabs3...
Rekhash
25-Mar-13 8:19am
View
No. we can use ajax or jquery in asp.net @Raje
Rekhash
25-Mar-13 8:18am
View
in aspx page- one page to another page(page cannot relaod or refresh).
In Eg: First page(.aspx ) to another page(.aspx ).in first page in submit button to go another
page.it wont refresh page. @ryanb31
Rekhash
13-Mar-13 5:36am
View
i need more the lakhs in random generate code in .net it will stored automatically in the db.
Rekhash
11-Mar-13 0:40am
View
Thank You.. it is helpful for learning beginners @Nelek
Rekhash
11-Mar-13 0:18am
View
Thank You. @woutercx
Rekhash
5-Mar-13 4:45am
View
How to assign a value array format at runtime in stored procedure @phil.o
Rekhash
18-Feb-13 5:09am
View
Place a button "Export to SQL" when use clicks on this button the entire XML data should get stored in an database by creating new table and inserting values at runtime. @Karthik Harve
Rekhash
18-Feb-13 2:47am
View
Ok i got it.Thanks @Tadit Dash
Rekhash
17-Feb-13 23:31pm
View
four method.when I click a radio button appropriate method should be called and display result in label @Tadit Dash
Rekhash
16-Feb-13 5:44am
View
radiobutton @bandi.ramesh
Show More