16,003,462 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 Raajkumar.b (Top 99 by date)
Raajkumar.b
14-Apr-14 1:40am
View
http://www.codeproject.com/Questions/757273/Problem-with-progress-bar-when-extracting-files
this link contains my code check it once
Raajkumar.b
14-Apr-14 1:38am
View
using Ionic.Zip;
Raajkumar.b
10-Apr-14 3:00am
View
hey sry yaar the problem is after cmd2 command ther we are writing cmd.executenonquery()
replace it with cmd2.ExecuteNonQuery();
Raajkumar.b
10-Apr-14 2:54am
View
Is the values are inserting in Applied Users table or not
Raajkumar.b
10-Apr-14 2:46am
View
SqlCommand cmd2 = new SqlCommand("insert into UserApplied(UserID,FirstName) values('" + dt.Rows[0][0].ToString() + "','" + dt.Rows[0][1].ToString() + "')",con);
just paste this query at cmd2 command once it will work confirmly
Raajkumar.b
10-Apr-14 2:37am
View
once take one gridview in design page afther da.fill(dt) write
gridview1.datasource=dt;
gridview1.databind();
execute it and tell me whether gridview is filling with userid and firstname.
Raajkumar.b
10-Apr-14 2:21am
View
once check the datatable dt is filling or not. If dt is filled then error is in query check the insert query once again
Raajkumar.b
10-Apr-14 2:19am
View
r u getting any error
Raajkumar.b
10-Apr-14 2:19am
View
SqlCommand cmd2 = new SqlCommand("insert into UsersApplied values('" + dt.Rows[0][0].ToString() + "','" + dt.Rows[0][1].ToString() + "') ", con);
remove .... in insert query
Raajkumar.b
10-Apr-14 2:12am
View
("insert into UserApplied(UserID,FirstName) values('" + dt.Rows[0][0].ToString() + "','" + dt.Rows[0][1].ToString() + "')",con);
Raajkumar.b
10-Apr-14 1:20am
View
Still having same problem my Progress bar is jumping for every file.
Raajkumar.b
9-Apr-14 2:40am
View
string strHostName = System.Net.Dns.GetHostName();
string strIp = System.Net.Dns.GetHostAddresses(strHostName).GetValue(0).ToString();
for this am getting strIP value = fe80::de7:d8ef:c095:f3a8%11
i need the ISP name like airtel or tata photon or beam....etc
Raajkumar.b
9-Apr-14 2:28am
View
thank for reply but i have already saw this link its not working.
Raajkumar.b
9-Apr-14 2:27am
View
thank for reply but i have already saw this link its not working.
Raajkumar.b
2-Apr-14 11:41am
View
add panel or place holder to webform
id:addpanel
addpanel.Controls.add(rpt_panel);
Raajkumar.b
17-Mar-14 3:44am
View
in btn_click event you write
button.visible=false;
Raajkumar.b
17-Mar-14 3:39am
View
declare globally like this
static list<int> li=new list<int>();
Raajkumar.b
15-Mar-14 7:06am
View
keep the datalist visibility false untill checkbox is checked
Raajkumar.b
15-Mar-14 2:55am
View
check this link
http://forums.asp.net/t/1666153.aspx?How+to+use+the+response+redirect+method+in+class+file
Raajkumar.b
15-Mar-14 2:43am
View
int i=dt.rows.count;
lbllogin.Content=dt.Rows[i-1]["login"].ToString();
lbllogout.Content = dt.Rows[i-1]["logout"].ToString();
Raajkumar.b
12-Mar-14 6:16am
View
mark it as correct answer
Raajkumar.b
11-Mar-14 4:21am
View
why my answer is downvoted?
Raajkumar.b
11-Mar-14 2:23am
View
hi,try this
<script type="text/javascript">
function movetoNext(current, nextFieldID) {
if (document.getElementById(current).value.length >= document.getElementById(current).maxLength) {
if (document.getElementById(nextFieldID) != null) {
document.getElementById(nextFieldID).focus();
}
}
}
</script>
Raajkumar.b
9-Mar-14 1:47am
View
Deleted
try like this
c.Open();
for(int i=0;i
Raajkumar.b
7-Mar-14 23:42pm
View
refer this link
http://blogs.msdn.com/b/webdev/archive/2006/07/01/part-1-of-3-creating-sub-projects-in-iis-with-web-application-projects.aspx
Raajkumar.b
7-Mar-14 4:11am
View
stored procedure
alter procedure GetUserLoginName(
@Username varchar(max),@role varchar(max) output)
as
begin
select @role = (select name from Tb_newuser where Username=@Username)
return
end
query works properly by testing it from the Query Window
DECLARE @role varchar(max);
exec GetUserLoginName 'rajesh',@role OUTPUT;
PRINT @role;
Raajkumar.b
7-Mar-14 3:28am
View
what are fields of Newuser Table
Raajkumar.b
7-Mar-14 2:22am
View
select @role = ( Name from Newuser where Username=@Username)
Raajkumar.b
7-Mar-14 1:54am
View
check this link http://www.sqlteam.com/article/stored-procedures-returning-data
Replace these lines with below code
sqlcmd.Parameters.Add("@role", SqlDbType.VarChar).Direction = ParameterDirection.Output;
string name = Convert.ToString(sqlcmd.ExecuteReader().ToString());
SqlParameter rolename= cmd.Parameters.Add("@role", SqlDbType.varchar);
rolename.Direction = ParameterDirection.Output;
you can get your result in rolename.
Raajkumar.b
6-Mar-14 23:40pm
View
hi,
save your web.config file in root folder not in subfolder.
Raajkumar.b
6-Mar-14 7:43am
View
hi,
try this once
Response.Redirect("RootFolderName/register.aspx");
Raajkumar.b
6-Mar-14 0:49am
View
refer this link
http://forums.asp.net/t/1510055.aspx
Raajkumar.b
6-Mar-14 0:32am
View
hi,
i have taken one textbox,label,and button.
when you enter text in textbox and click add button every time entered text will display in label separated by comma(,)
code:
protected void Button1_Click(object sender, EventArgs e)
{
if (Session["text"] != null)
{
string s = Session["text"].ToString();
Label1.Text =s + "," + TextBox1.Text;
Session["text"] = Label1.Text;
}
else
{
Label1.Text = TextBox1.Text;
Session["text"] = Label1.Text;
}
}
if your requirement is not this let me know.
Raajkumar.b
6-Mar-14 0:15am
View
hi, plz post your code.
Raajkumar.b
5-Mar-14 23:50pm
View
Your question is not clear.
Raajkumar.b
5-Mar-14 7:12am
View
refer these links once u get an idea
http://www.aspsnippets.com/Green/Articles/Cascading-DropDownList-for-CountryStateCity-in-ASPNet.aspx
http://www.c-sharpcorner.com/uploadfile/rohatash/dropdownlist-with-country-state-and-city-in-asp-net/
Raajkumar.b
5-Mar-14 6:51am
View
try this
string str=" 28.00 3.00 71.40 6.00 134.40 ";
string[] s=str.split(' '); double price;double unitprice;
if(Quantity==1 || Quatity==2)
{
if(Quantity==2)
price=convert.todouble(s[0]*2);
else
price=s[0];
}
elseif(Quantity==3 || Quatity==4 || Quantity==5)
{
unitprice=convert.todouble(s[2]/3);
if(Quantity==4)
price=unitprice*4;
elseif(Quantity==5)
price=unitprice*5;
else
price=convert.todouble(s[2]);
}
else
{
unitprice=convert.todouble(s[4]/6);
if(Quantity>6)
price=unitprice*Quantity;
else
{
price=convert.todouble(s[4]);
}
Raajkumar.b
5-Mar-14 5:59am
View
Deleted
string str=" 28.00 3.00 71.40 6.00 134.40 ";
string[] s=str.split(' '); string price;
if(Quantity==1 || Quatity==2)
{
price=s[0];
}
elseif(Quantity==3 || Quatity==4 || Quantity==5)
{
price=s[2];
}
else
{
price=s[4];
}
Raajkumar.b
5-Mar-14 4:19am
View
hi,
may be the problem is in web.config file
check this link once
http://realtimescenarios.blogspot.in/2013/05/wcf-communicationexception-this-could.html
Raajkumar.b
5-Mar-14 4:03am
View
hi, Are you asking for updating project setup?
Raajkumar.b
5-Mar-14 2:18am
View
check it u will get an idea
http://www.dotnetgallery.com/kb/resource21-How-to-store-and-retrieve-images-from-SQL-server-database-using-aspnet.aspx
Raajkumar.b
3-Mar-14 7:36am
View
can you post the code
Raajkumar.b
3-Mar-14 7:10am
View
can you post your code what have you tried before
and check binding grid code write not under (!Ispostback)
Raajkumar.b
3-Mar-14 0:22am
View
chck this link
http://stackoverflow.com/questions/3259895/if-linq-result-is-empty
Raajkumar.b
1-Mar-14 5:08am
View
in which event assigned text to a label control?
Raajkumar.b
1-Mar-14 4:50am
View
check this link once
http://forums.asp.net/p/1931348/5493420.aspx?Re+how+to+transfer+datalist+item+to+another+datalist
Raajkumar.b
1-Mar-14 4:18am
View
check this link
http://www.codeproject.com/Questions/249900/Add-Column-and-Update-that-column-of-DataSet-in-As
Raajkumar.b
14-Feb-14 4:45am
View
Reffer this link
http://www.codeproject.com/Articles/43705/Remote-Desktop-using-C-NET
Raajkumar.b
4-Feb-14 6:03am
View
Deleted
Set Column datatype to nvarchar(30) and insert as DateTime.Now.ToString("dd/MM/yyyy");
Raajkumar.b
4-Feb-14 5:00am
View
check this link
http://stackoverflow.com/questions/9854917/how-can-i-find-a-specific-element-in-a-c-sharp-list
Raajkumar.b
4-Feb-14 4:59am
View
Deleted
once check this link
http://stackoverflow.com/questions/9854917/how-can-i-find-a-specific-element-in-a-c-sharp-list
Raajkumar.b
4-Feb-14 4:48am
View
May be you are binding table to datagridview which the table consists of so many columns.
Fill the table with particular columns what do you want to bind to datagridview then bind that table to datagridview.
Raajkumar.b
18-Jan-14 4:10am
View
you said it is not possible (client side)
is it possible to save file at server side
Raajkumar.b
18-Jan-14 2:57am
View
pdf file save in folder of server
Raajkumar.b
17-Jan-14 2:21am
View
hi karthik,
it is not entering into loop once also because n and c are will never equal.
Raajkumar.b
17-Jan-14 1:38am
View
ListBox1.ClearSelection();
http://asp-net-example.blogspot.in/2011/07/how-to-use-listbox-clearselection.html
Raajkumar.b
21-Dec-13 0:55am
View
what is the solution for this ,i am also having same requirement
can u help me ?
Raajkumar.b
19-Dec-13 2:53am
View
i did enter text in circle
but i want enter text with in the boundaries of a circle
Raajkumar.b
19-Dec-13 0:58am
View
i am not having problem with circle shape. i have a problem to enter the text with in the boundaries of an circle only.
Raajkumar.b
19-Dec-13 0:08am
View
try like this
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
CellPadding="3" Width="829px"
style="margin-top: 15px"
BackColor="White"
BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" Height="223px"
onselectedindexchanged="GridView1_SelectedIndexChanged"
onrowdatabound="GridView1_RowDataBound" >
<columns> <asp:TemplateField>
<HeaderTemplate>TeacherName</HeaderTemplate>
<itemtemplate><asp:Label ID="lbid" runat="server" Text='<%#Eval("TeacherName")%>'>
<asp:TemplateField>
<HeaderTemplate>1</HeaderTemplate>
<itemtemplate>
<asp:dropdownlist ID="sub1" runat="server" Width="150" >
<asp:ListItem Value="4">Excellent
<asp:ListItem Value="1">Good
<asp:ListItem Value="2">Fair
<asp:ListItem Value="3">Poor
</listitem>
<asp:TemplateField>
<HeaderTemplate>2</HeaderTemplate>
<itemtemplate>
<asp:dropdownlist ID="sub2" runat="server" Width="150" O >
<asp:TemplateField>
<HeaderTemplate>3</HeaderTemplate>
<itemtemplate>
<asp:dropdownlist ID="sub3" runat="server" Width="150" OnSelectedIndexChanged="dr_index" >
<asp:TemplateField>
<HeaderTemplate>4</HeaderTemplate>
<itemtemplate>
<asp:dropdownlist ID="sub4" runat="server" Width="150" OnDataBinding="drp_bind" OnSelectedIndexChanged="dr_index" >
Raajkumar.b
2-Dec-13 7:55am
View
i want to retrive querry based on conditions
for that i did like this
using (OleDbConnection con2 =
new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\"" +
file2.DirectoryName + "\\NewFolder1.{2559a1f2-21d7-11d4-bdaf-00c04f60b9f0} " + "\";Extended Properties='text;HDR=yes;FMT=Delimited(,)';"))
{
con2.Open();
for (int i = 0; i < 3; i++)
{
int k = i + 1;
OleDbCommand cmd = new OleDbCommand("select SetName from Level" + k + ".txt where SetName Not In (select SetName from EXresult.txt where LevelName='Level" + k + "' and UID='" + un + "' )", con2);
OleDbDataReader drr = cmd.ExecuteReader();
if (drr.Read())
{
MessageBox.Show("first read set " + drr[0].ToString() + "In Level" + k + "");
break;
}
during setup i created onefolder is mydb in that all text files are stored
already u know that i tried to gave permission to mydb folder still it doesn't work after install project
my problem is give permissions to textfile to write property in mydb folder after installing project
Raajkumar.b
2-Dec-13 1:07am
View
using oledb conncetion i read and write data into text files
Raajkumar.b
2-Dec-13 0:14am
View
i am store and read values from text files only
after setup project reading values from text files is success
when i will enter data into text file i have permissions problem
Raajkumar.b
1-Dec-13 23:32pm
View
hi,
i am using text files as database(oledb conncetion)
Raajkumar.b
30-Nov-13 0:46am
View
hithanks for ur reply ,it shows "Operation must use updateble query"
(i am using windows 7 o.s and inastall project in c:drive)
Raajkumar.b
28-Nov-13 2:49am
View
hi
after installed project ,above code is works only for my system
when i run same setup in another system it doesn't work
for that i changed your code
string accname = System.Security.Principal.WindowsIdentity.GetCurrent().Name;
FileSystemAccessRule AccessRule = new FileSystemAccessRule(accname ,.....)
now also it doesn't work
any idea?
Raajkumar.b
26-Nov-13 4:01am
View
first find the selected row index and then bind the selecter row items to datatable then bind datatable to datalist
to find selecteted row index
var rowindex=((gridviewrow)(control)sender)).NamingContainer).RowIndex
Raajkumar.b
26-Nov-13 0:11am
View
i want how to add above installer class output to set up file
Raajkumar.b
23-Nov-13 4:05am
View
is it possible?
can u post any refferal links
Raajkumar.b
22-Nov-13 7:56am
View
this is client requirement, already he faced this issue.so i want to hide the files.
Raajkumar.b
22-Nov-13 7:32am
View
thank u for reply.
hi RyanDev,
Is there any option for hiding textfiles?
Raajkumar.b
22-Nov-13 2:02am
View
thank u for reply.
but for two text files i have to give write permission to user for insertion. so i need to hide the files that is my issue
Raajkumar.b
22-Nov-13 1:13am
View
text files consists of vacabulary words and meanings of it.
so users should not delete or modify the files
Raajkumar.b
22-Nov-13 1:12am
View
hi,
even am encrypting the text files also textfile will visible to user and he can delete content in it. so now i want to hide that files.
Raajkumar.b
22-Nov-13 1:11am
View
Deleted
hi,
even am encrypting the text files also textfile will visible to user and he can delete content in it. so now i want to hide that files.
Raajkumar.b
15-Nov-13 23:23pm
View
thanks for your reply. Is there is any property for finding a control in c# windows like in web
radiobutton rb=(radiobutton)panel1.findcontrol(rb1);
how to find control in c# windows?
Raajkumar.b
9-Nov-13 1:02am
View
do u want sqlquery or table fields to create?
Raajkumar.b
8-Nov-13 23:33pm
View
Deleted
what are the tables and fields u r using to get data?
Raajkumar.b
8-Nov-13 6:58am
View
Its browser issue if u run this code in IE only it will show open or save option in google chrome it will not show
Raajkumar.b
8-Nov-13 6:10am
View
ValidationExpression="^[0-9]*$"
this regex is only for numbers with no spaces and characters
Raajkumar.b
8-Nov-13 6:06am
View
can you give an example what do you want in output?
Raajkumar.b
8-Nov-13 1:10am
View
have u maintained foreign key relation between hotel and food tables?
Raajkumar.b
7-Nov-13 23:43pm
View
Try like This
GridViewRow R = GridView1.Rows[e.RowIndex];
TextBox txtword = (TextBox)R.FindControl("txtage");
string word = txtage.Text;
Raajkumar.b
7-Nov-13 23:26pm
View
Deleted
refer this link
http://forums.asp.net/t/1304752.aspx
Raajkumar.b
7-Nov-13 1:29am
View
can u explain briefly what are your requirements?
Raajkumar.b
6-Nov-13 23:56pm
View
http://www.w3schools.com/html/html5_draganddrop.asp
i need this in windows or web using c# or asp.net
Raajkumar.b
6-Nov-13 23:55pm
View
hi sergey am telling that my question is wrong.
Raajkumar.b
6-Nov-13 23:35pm
View
i think user control is not the way to do this. Its not the user control it is custom control.
Raajkumar.b
6-Nov-13 7:56am
View
yes
Raajkumar.b
6-Nov-13 6:50am
View
check the solution 4 for tool tip text to upper case but to change the tooltip background color we have to write java script search it in google you will get so many links....
Raajkumar.b
6-Nov-13 6:05am
View
ok i will try and let u know. If it is correct answer mark it as answer
Raajkumar.b
6-Nov-13 5:44am
View
refer this link
http://msdn.microsoft.com/en-us/library/ee539976(v=office.14).aspx
Raajkumar.b
6-Nov-13 4:03am
View
refer this link:
here i think you have to add GoogleLanguage.WebControls dll
http://googlelanguage.codeplex.com/
Raajkumar.b
6-Nov-13 2:27am
View
nope. It will work in all browsers i checked it.
Raajkumar.b
5-Nov-13 23:43pm
View
hi,
i checked your code it is working perfectly in google chrome. In IE it is working but break point is not firing.
Raajkumar.b
8-Oct-13 2:52am
View
hello mr am not asking to do my homework just am asking an idea how to start it, see the question first and answer it. If u don't know the answer then don't answer it.....
Raajkumar.b
8-Oct-13 1:15am
View
Am not getting any idea from where i have to start just i need an idea how to start it i mean just i need a sample code for an idea
Raajkumar.b
17-Sep-13 4:47am
View
yes, but my requirement is encrypted text should not contain special characters.....
for this code encrypted text containing special characters..
Raajkumar.b
17-Sep-13 0:29am
View
plain text length should be same as encrypted text length it is our project requirement for password
Show More