16,019,018 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 Visual Basic questions
View Javascript 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 pratham2587 (Top 18 by date)
pratham2587
1-Aug-12 4:43am
View
i just want to insert the selected data from checkbox in database
pratham2587
18-Jul-12 3:23am
View
using (StreamReader sr = File.OpenText(strPath))
{
while ((line = sr.ReadLine()) != null)
{
string[] data = line.Split(',');
if (data.Length > 0)
{
if (i == 0)
{
foreach (object item in data)
{
{
dt.Columns.Add(new DataColumn());
}
}
i++;
}
DataRow row = dt.NewRow();
row.ItemArray = data;
dt.Rows.Add(row);
}
}
}
After Debugging it goes till this code and after jumps directly to catch statement showing thata error.....
pratham2587
18-Jul-12 3:04am
View
as i am trying to debug the code it is not coming on that debugger it is directly going on catch and giving the above error
pratham2587
18-Jul-12 2:57am
View
thanks sanwar mal jat
But it is still showing same error Pls help
pratham2587
18-Jul-12 1:50am
View
still issue is not resolved PL need help to solve the problem ..As i am new to Asp.net PLease help
regards
OPratham
Thanks in advance
pratham2587
17-Jul-12 1:42am
View
Tried but showing same error....
pratham2587
11-Jul-12 4:01am
View
i was trying with ajax but not gettig the result ..
I am geting the out put properly but without update progress bar...
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
Namespace="System.Web.UI" TagPrefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<link href="CSS/CSS.CSS" rel="stylesheet" type="text/css" />
<link href="CSS/calendar.css" rel="stylesheet" type="text/css" />
<title>Report</title>
<script type="text/javascript" language="javascript">
function onCalendarShown(sender,args)
{
$find('CalendarExtender4')._popupDiv.style.zIndex=10001;
}
function onCalendarHidden(sender,args)
{
$find('CalendarExtender4')._popupDiv.style.zIndex=0;
}
function onCalendarShown1(sender,args)
{
$find('CalendarExtender3')._popupDiv.style.zIndex=10001;
}
function onCalendarHidden1(sender,args)
{
$find('CalendarExtender3')._popupDiv.style.zIndex=0;
}
</script>
<link href="CSS/calendar.css" rel="stylesheet" type="text/css" />
<link href="CSS/CSS.css" rel="stylesheet" type="text/css" />
<style type="text/css">
.tabs
{
position:relative;
top:1px;
left:10px;
}
.tab
{
border:solid 1px black;
background-color:#eeeeee;
padding:2px 10px;
}
.selectedTab
{
background-color:white;
border-bottom:solid 1px white;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
<Scripts>
<asp:ScriptReference Path="~/jquery-1.2.6.min.js" />
<asp:ScriptReference Path="~/jquery.blockUI.js" />
<asp:ScriptReference Path="~/Default.js" />
</Scripts>
<div>
<table cellpadding="4" cellspacing="4" width="100%">
<!-- blank Row -->
<tr>
</tr>
<!-- Add Button -->
<tr>
</tr>
</table>
</div>
<div class="window_blue">
<div style="padding-right: 1px; padding-left: 1px; padding-bottom: 1px; padding-top: 2px">
</div>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<contenttemplate>
<table backcolor="#DEBA84" style="width: 31%; height: 29px;" cellpadding="2" cellspacing="2" align="center" border="1" >
<tr align ="center">
<th backcolor="#DEBA84" font-style="normal" color="White" font-weight="bold" text-transform="Uppercase" height="2px" align="center" colspan="2" rowspan="2" >
<asp:Label ID="Label2" runat="server" Text="Mobile No:-" CssClass="label3">
<asp:TextBox ID="TextBox1" runat="server" CssClass="textbox" OnTextChanged="TextBox1_TextChanged"><br />
<br />
<asp:RequiredFieldValidator ID
pratham2587
5-Jul-12 5:11am
View
mY design look like this
textbox for from and to date ,
checkboxlist with item in it(eg.a,b,c,d,e)
submit button
I want to display data in grid view
when i put the date in text box and by selecting 3 items from checkboxlist
i want to display the data for those selected items only in gtridview from database .
If i am selecting 3 or 4 items from checkboxlist or even single item data for that item should only get displayed in gridview
that is my query
pratham2587
28-Jun-12 5:35am
View
Its done it was urgent so did it with the help of stored procedure....
pratham2587
26-Jun-12 8:11am
View
is this code will help to convert the text box numeric value into words?
pratham2587
26-Jun-12 8:04am
View
i want to display the numerical value from textbox in words ..
Is this code will help for that issue.
pratham2587
12-Jun-12 6:55am
View
still issue not resolved ..Getting an error regarding a ""error the process cannot access the file because it is being used by another process""
pratham2587
12-Jun-12 6:55am
View
still issue not resolved ..Getting an error regarding a ""error the process cannot access the file because it is being used by another process""
pratham2587
12-Jun-12 6:55am
View
still issue not resolved ..Getting an error regarding a
""error the process cannot access the file because it is being used by another process""
pratham2587
11-Jun-12 4:48am
View
without duplication means no duplicate records should be saved in database ..but that is not the issue ..i just want to know how i can fetch the excel file from different drives and upload that file data in database ...in my mentioned example i have given C: path hard coded but how can i select the file from different drives ...
pratham2587
11-Jun-12 3:30am
View
can anyone help me with the code for the same
pratham2587
8-Jun-12 5:31am
View
Issue is not resolved and i m not able to store the excel data in sql database
pratham2587
1-Jun-12 0:55am
View
thanks for help .sudip its done
Show More