15,881,866 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 syed shanu (Top 200 by date)
syed shanu
25-Jan-15 21:19pm
View
Hi,
Are you looking result like this.
C# Code
dataGridView1.RowCount = 9;
int IncValue=0;
for (int iVal = 1; iVal <= 7; iVal++)
{
IncValue = IncValue + iVal;
dataGridView1.Rows[iVal].Cells[0].Value = IncValue;
}
VB.NET CODE
DataGridView1.RowCount = 9
Dim IncValue As Integer = 0
For i As Integer = 1 To 7
IncValue=IncValue+i;
DataGridView1.Rows(i).Cells(0).Value = IncValue
Next
syed shanu
11-Jan-15 19:34pm
View
Check my article might be helpful to you.
http://www.codeproject.com/Articles/792540/External-Program-Text-Read-using-VB-NET
syed shanu
11-Jan-15 19:28pm
View
Do you mean after you update data you want to refresh the Datagridview and display with update data.If so then after update you have to rebind the Datagridview.
syed shanu
8-Jan-15 22:10pm
View
Check with Alert message like this
function ChangePic() {
if (document.getElementById("bulb").src == "IMAGES/pic_bulboff.gif")
{
alert("yes");
document.getElementById("bulb").src = "IMAGES/pic_bulbon.gif";
}
else
{
alert("No");
document.getElementById("bulb").src = "IMAGES/pic_bulboff.gif";
}
}
syed shanu
8-Jan-15 4:14am
View
You can create a Dummy datatable or Dataset with one record of empty data and bidn to datagrid.Mean time for the Comboxbox you can add your actual datasource.Hope this will help you.
syed shanu
8-Jan-15 4:11am
View
Can you explain what do you mean of Orizinal Size.What i assume is you need to pass your Image name as query string to popup window and in popwindow you can display the Image.
another option is in your page you can have DIV,Spam or what ever as you wish and by default its visible can be faluse and on Icon Click in the div you can display your large size image.
syed shanu
7-Jan-15 3:43am
View
What type of Custom datagridview you want to create.There are many articles related to DGV but you need to mention what type of Custom DGV you want to create.
syed shanu
26-Dec-14 1:45am
View
Can you add more details to your question with your code.
syed shanu
25-Dec-14 23:41pm
View
Is this Windows or Web Application
syed shanu
25-Dec-14 19:53pm
View
Did you use Break Point and is all your data you get before the call the insert function.
i think this will work.
foreach (GridViewRow row in MyGridView.Rows)
{
TextBox U_Id = row.FindControl("Textbox5")as TextBox;
TextBox Name = row.FindControl("Textbox1")as TextBox;
TextBox Email_Id = row.FindControl("Textbox2")as TextBox;
CheckBox cb = (CheckBox)row.FindControl("CheckBox1");
if (cb.checked==True)
{
InsertData(U_Id.Text, Name.Text, Email_Id.Text, System.DateTime.Now.ToString());
}
}
}
syed shanu
25-Dec-14 19:45pm
View
Your question is not clear .Can you explain wht you want exactly.
it seems you need something like adding ancor Tag Name for example your page is very lenthy and having vertical scroll on page.
now you need to click some link and go to the Gridview position at the bottom of the page .if You are looking something like this then you can do like addint this in your top of page
"
Go To My GV
"
"a href=#gv"
and in bottom og page before your gv add this code.
"
MY GV
"
a name="gv
syed shanu
25-Dec-14 19:20pm
View
Check this links hope this will help you.
is your Authentication Mode="Windows" ?
http://forums.asp.net/t/1751160.aspx?string+sName+HttpContext+Current+User+Identity+Name+ToString+Not+working
http://codeverge.com/asp.net.security/user.identity.name-doesn-t-work-on-server/54092
http://www.codeproject.com/Questions/365520/IIS-Setting-to-get-Current-User-Name-in-ASP-Net
syed shanu
24-Dec-14 3:30am
View
yes you can do that using case in ql query but need your table query and sample insert data so that we can form your result.
syed shanu
24-Dec-14 3:04am
View
Can you give me your create table and sample insert query so that i can create a simple sample for you.
syed shanu
24-Dec-14 2:43am
View
You can do this in your Database and return the result.
best way is you can create a Storeprocedure and pass the parameter of your input and you can perform yout Sum to pay logic in your SP and return the final result.
syed shanu
24-Dec-14 2:25am
View
Thank You
syed shanu
24-Dec-14 1:50am
View
You need to create this using Pivot .
Check my article
http://www.codeproject.com/Articles/818756/Basic-SQL-Queries-for-Beginners#13
syed shanu
24-Dec-14 1:30am
View
Read the rules to post question at CP you need to add the correct Tag for your quesation.You have asked for desktop setp and your tag is ASP.NET.Actually i add solution for your question but due to your bad words i deleted the solution.Its open forum here what you give is what you get.In public forum dont use any bad words .
syed shanu
24-Dec-14 0:42am
View
Mind your words
syed shanu
24-Dec-14 0:32am
View
Why you have taged with ASP.NET
syed shanu
24-Dec-14 0:30am
View
Check this link .
http://samples.gaiaware.net/BasicControls/TextBox/Event-OnTextChanged/
You can chage this to gird view
syed shanu
24-Dec-14 0:21am
View
So what is the problem.
syed shanu
23-Dec-14 23:45pm
View
Did you add System.IO.Compression dll to your bin folder where you have hosted.
syed shanu
23-Dec-14 20:27pm
View
The problem is due to Menu Id as you can see in product table for both image you have the same Menu ID.In this case you need to use ProductId to display different image.
syed shanu
23-Dec-14 19:37pm
View
Check my article hope this will help you to start your project using ASP.NET
http://www.codeproject.com/Articles/852205/Insert-select-update-delete-in-asp-net-with-Simple
syed shanu
23-Dec-14 3:08am
View
its simple now.You can get sample of RFID tag read and write from the SDK.
first create one sample program for working with RFID tag read and write.
Then in your application as you do other fucntions to store data in DB you can use same but before insert data to rafit table get the tag name.
syed shanu
23-Dec-14 2:44am
View
Your query seems wrong do you mean you want to insert records to date1 table and RefrenceNo should be incremented value.
here in your code what this mean "Select count(*)+1 from as d from ddate"
but you insert query is on date1 table.and what will be your "RefrenceNo"
syed shanu
23-Dec-14 2:36am
View
I have worked with C# and why you chose c++.I know the basic SDK will be in C++ and some company will give both C++ and C# SDK.So Check with the manufaturar of RFID reader for C# version of SDK.if they dont have one ask them to provide them one sample code for c#.Suerly they will support you.
syed shanu
23-Dec-14 1:20am
View
But why do you have same data in 3 dropdownlist
syed shanu
22-Dec-14 1:44am
View
So what is the problem
syed shanu
21-Dec-14 23:57pm
View
Chk this hope this will help you.
http://stackoverflow.com/questions/4146309/in-a-text-box-in-asp-net-how-to-allow-it
http://stackoverflow.com/questions/11336801/converting-html-special-characters-in-asp-net
syed shanu
21-Dec-14 23:43pm
View
When you bind the gridview check with the break point and check the dataset or data table result as what format you get the data.it will be hard to explain what exactly you have done.
syed shanu
21-Dec-14 23:39pm
View
The the problem is from the data base.Check how the result is displayed in the database.
syed shanu
21-Dec-14 23:04pm
View
Did you check using the break Point ,
What result you get from "GridView1.Rows[1].Cells[2].Text". The same result will be displayed in Textbox.Debug your code and check the result. before bind to textbox.
syed shanu
21-Dec-14 22:52pm
View
In yuour gridview DataKeyNames="RefrenceNo"
Check in your select query "RefrenceNo" is avaibale or not.
syed shanu
19-Dec-14 3:25am
View
So what is this "jgfjhk kjhkj;ls jfkljn;l j;lkjf;ljkhkj hskuyh " .If you realy need answer then Improve your question with more detail.
syed shanu
18-Dec-14 19:37pm
View
what type of task you want to schedule.
You can use windows serives if you need to perform application orianted task.
you can use SQL JOB if you want to execute only Stored procedure.
syed shanu
18-Dec-14 3:27am
View
Yes i update it hope it will help you.
syed shanu
18-Dec-14 2:40am
View
The download is avaibalble in that link you can download the source and test it.
Did you try that program dis your data oif dynamic textbox saved in data base? IF saved means in save button click you need to rebidn the grid with new data.
syed shanu
18-Dec-14 1:49am
View
Then in you question you should mention it clearly first you said winform to website.then you said to google search i gave u solution now u r telling to display in particular web site ?
syed shanu
18-Dec-14 1:26am
View
Explain with moer detail and example that will work for quick answer
syed shanu
18-Dec-14 0:55am
View
Check this link and the Solution 2
http://www.codeproject.com/Questions/365340/Google-search-in-windows-form-csharp
syed shanu
18-Dec-14 0:20am
View
yes that is what iam saying.You told in ur winform button click you open website.in the url pass the querystring.
syed shanu
18-Dec-14 0:16am
View
So what is the problem.You can pass the value as query string.
And in your ASp.Net page get the value.
syed shanu
17-Dec-14 19:23pm
View
I recomand to go with Visual studio controls for learning purpose.As you said you are learning now so first check the differance between normal visual studio controls and 3rd party controls.point out all the differance now its time for you to create your own user control using visiual studio controls same like other 3rd party featuers .hope you can do that.
syed shanu
17-Dec-14 19:14pm
View
yes it seems you have missed the user id in your table as you want to get the comment group by userid by this you can get sum of comments by user.
syed shanu
17-Dec-14 4:28am
View
Do you use Update Panel
syed shanu
17-Dec-14 4:21am
View
I think you need to use the Grou by in your select query.
example : Iam not sure about your select key field so check for your needed group by field and change according to it.
SELECT SUM(total_comment) AS comment
FROM user_comment
INNER JOIN post
ON user_comment.image_id = post.id
WHERE status = 0
group By user_comment.image_id
syed shanu
17-Dec-14 4:21am
View
I think you need to use the Grou by in your select query.
example : Iam not sure about your select key field so check for your needed group by field and change according to it.
SELECT SUM(total_comment) AS comment
FROM user_comment
INNER JOIN post
ON user_comment.image_id = post.id
WHERE status = 0
group By user_comment.image_id
syed shanu
17-Dec-14 3:53am
View
What you have in your variable.Show here your variable example that will help to find the solution.
syed shanu
15-Dec-14 2:53am
View
What idea you need.Improve your question and add mreo details about your requirement.its not clear.
syed shanu
15-Dec-14 2:33am
View
Check my article related to your question.
http://www.codeproject.com/Articles/841755/DataGridView-Helper-Class
You can find the Datagridview Button column with click event.You can use that fucntiona and in Datagridview button click event you can get row value.Using the row value delete data from your db and rebind your grid.hope this will help you.
syed shanu
15-Dec-14 2:23am
View
Try this :
Kindly study and understand the functionality so that you can do by your own.
select Cast(Round((CAST(10*100 AS decimal(10,0))/115),1) as decimal(10,1))
Before asking question kindly try by yourself for >if you find hard then ask question.
syed shanu
15-Dec-14 1:35am
View
What problem did you find in that.You can do using alter table and also you can alter your SP.
syed shanu
12-Dec-14 5:32am
View
Your code also works fine .yes it was only due to SP missing .In futuer use break point you can find your solution from there.
syed shanu
12-Dec-14 2:43am
View
I have updated my solution check it
syed shanu
12-Dec-14 2:26am
View
I msg you to check with break point and in which line do you get the error.
syed shanu
12-Dec-14 2:16am
View
Chk my solution hope that will help you
syed shanu
12-Dec-14 1:56am
View
Check my article realted to your program.
http://www.codeproject.com/Articles/852205/Insert-select-update-delete-in-asp-net-with-Simple
syed shanu
12-Dec-14 1:52am
View
Check with break point and tell us in which line do you get the error
syed shanu
9-Dec-14 3:37am
View
You can display the Confirmation message box before insert .if the user click Yes then insert to database .if the user click No then dont insert to database.
syed shanu
9-Dec-14 2:56am
View
protected void Page_Load(object sender, EventArgs e)
{
string word = ConvertNumbertoWords(Convert.ToInt32(txtnumber.Text));
lblmsg.InnerText = word;
}
syed shanu
9-Dec-14 2:52am
View
You can use nvarchar datatype to store your dates.
But if you need to search date vaules you can convert your nvarchar to date format.
Hope you might have fixed format startting like Summer,Q1,Mid,TBA and 05-12-2013 depend on the value you can search
Or you can have 3 column in SQL table one as nvarchar and 2 as Date.
before insert data in first column you can insert summer-2015 .You might be know Summer duration of start and end month and date.add the start and end date to other date field.
Same like this you can insert for q1 hope this if first quater might be from Jan 2015 to April 2015 so its you can insert this in 3 columns this method will be easy to do the search funciotn
syed shanu
9-Dec-14 2:32am
View
OOPs it has both integer and string the user can use what he want.
syed shanu
9-Dec-14 2:26am
View
What error you get .
I hope you need to do something like this
create one Stored Procedure with 2 select query for example like below
create procedure sample()
begin
select * from table1 where field1=@field1;select * from table2 where field2=@field2.
In your CS file in Dataset fill the records using DataAdapter.
datagridview1.DataSource=ds.Tables[0];
datagridview2.DataSource=ds.Tables[1];
syed shanu
9-Dec-14 2:22am
View
its demo program i pass the datatable to bind the result to combo box same like that you can pass your datatable to bind to combobox.Your datatable will be as your database result.
// ComboBox Column creation
ShanuDGVHelper.Templatecolumn(shanuDGV, ShanuControlTypes.ComboBox, "DGVComboColumn", "ComboCol", "Combo Column", true, 160, DataGridViewTriState.True, DataGridViewContentAlignment.MiddleCenter, DataGridViewContentAlignment.MiddleRight, Color.Transparent, dtName, "Name", "Value", Color.Black);
here you can see dtName - is Datatable
"Name", "Value" are combobox displaymember and value member
syed shanu
9-Dec-14 2:15am
View
try this if this not works paste your insert and select query create and insert script so that other can find for the solution.
insert into CM_ONTHEFLYCOMMUNICATION (c_source,c_classification,c_name,c_email,c_mobile,c_bookscount)
values
Select 'Library'
,'CheckOut -'+cio_branchname
,cio_membername
,mstmember.m_email1
,mstmember.m_mobile
,count(trncheckinout.cio_bookname)
from
trncheckinout inner join
mstmember on cio_mrecid=m_recid where CIO_CheckOutDt = 20141208
group by m_email1,m_mobile, cio_branchname,cio_membername
syed shanu
9-Dec-14 2:02am
View
Cool
syed shanu
9-Dec-14 1:59am
View
Hi,
Well you can see my comment for him.as he again requested for the solution i did for him this is very simple solution for us but for starter it seems hard
syed shanu
9-Dec-14 1:38am
View
Check my solution hope you get what you want now.
syed shanu
9-Dec-14 1:20am
View
Did you check dtnewQC = clsMain.GenerateTransposedTable(dtQC);
is reeturn the datatable with data.
syed shanu
9-Dec-14 1:12am
View
? can you give more details and with example
syed shanu
9-Dec-14 1:10am
View
Google can give you better answer.Lots of samples available their
syed shanu
9-Dec-14 1:06am
View
What is "dtnew" and "dtnewQC" and what this both method return " clsMain.GenerateTransposedTable(dtQC)" and "clsMain.GenerateTransposedTable(dtEntry);
" if this return dataset then you can write code like below
dtGridEntry.datasource=dtnew.Tables[0];
dtGridQC.datasource=dtnewQC.Tables[1];
syed shanu
8-Dec-14 22:52pm
View
Hi,
if you have read my article you wont ask this question as you can see DatagridView helper class which means this is not telerik controls this is .net winform datagridView Grid Control.
syed shanu
8-Dec-14 19:09pm
View
Hi,
I recomand you to create a new website and create similar search functionality using the above links .once you get familiar with c# and how to work with search and sorting ,Then you can easily change your existing code.All the best.
syed shanu
8-Dec-14 5:07am
View
Did you check the link .The code is in c#
syed shanu
8-Dec-14 4:46am
View
Is there a c:/ in your server.
Do you have folder name C:/OUTBOUND in your server.
Might be this line string strURL = Server.MapPath(@"~/C:/OUTBOUND/" + FileName + "");
seems to be wrong.
syed shanu
8-Dec-14 4:15am
View
where do you get this 2014 .Do you use the Current Year here.
syed shanu
8-Dec-14 3:26am
View
Dont repeat questions http://www.codeproject.com/Questions/850948/Csharp-code-for-clear-temporary-file-and-log-file?arn=1
syed shanu
8-Dec-14 2:28am
View
I provide as the solution
syed shanu
8-Dec-14 2:15am
View
paste your sample string and also paste which special char you need to find from the string.
syed shanu
8-Dec-14 2:09am
View
What is your problem to pass label text insted of textbox in query string.
syed shanu
8-Dec-14 2:03am
View
here is Wikipedia link for Heisenbugs.
http://en.wikipedia.org/wiki/Heisenbug#Heisenbug
I belive that there is no meaning for this error for his problem.it seems in his program for some of input hes getting error for example we can say for 9 time he pass greater then 0 value for divid if suppos the 10th time if he pass the zero value to divide then he mgith get the error.
If he paste his error part of code hope it will be easy to find the solutions.
syed shanu
8-Dec-14 1:54am
View
What value did you get from "DrpImageCatagory.SelectedValue".
I think here is your error check this selected value is returing integer values or any string type value.
syed shanu
8-Dec-14 1:46am
View
Can you paste your code here.and tell us in which line do you get error.
syed shanu
7-Dec-14 23:32pm
View
Check my solution i have tried the first link it works fine for me.check for the missed line ,.update your code and test it.
syed shanu
7-Dec-14 23:26pm
View
Where is your export to excel code
syed shanu
7-Dec-14 23:02pm
View
Why do you want Mousedown Event.You can use Cell Click or CellContent Colick event.
syed shanu
7-Dec-14 21:38pm
View
Can you tell me after 3 attempts what you will do.will you lock the user so that he can not login again.if its so in your table you can add one more field as count initially the count set as 0.If user logsin for first time .
Create one Storeprocedure and check for valid user if hes valid user then no need to update the countfield if the username or password failes then update the the countfiled to 1.repead this action.
In select query check for user name and password and countfield lessthen 3.
when user try login for more then 3 time display your message and do your action as you needed.
syed shanu
7-Dec-14 21:00pm
View
Check this link hope this will help you.
http://www.codeproject.com/Questions/282782/error-while-updating-the-ms-access-data-base-after
http://www.beansoftware.com/ASP.NET-FAQ/Operation-Must-Use-An-Updateable-Query.aspx
syed shanu
7-Dec-14 20:48pm
View
Did you import the System.Drawing.dll
Namespace to your CS file.
If not you have to import the name space at the top as
using System.Drawing.dll;
syed shanu
7-Dec-14 18:59pm
View
Hi,
I think you might getting string in Selected value .here you are converting string into the Int data type check the code with break point.
path = Server.MapPath("~/Images/");
Line 71: int Image_Catagory = Convert.ToInt32(DrpImageCatagory.SelectedValue);
Line 72: int Image_type = Convert.ToInt32(RadioImageType.SelectedValue);
syed shanu
5-Dec-14 2:13am
View
I think you need something like this :
DECLARE @tblCustomers AS NVARCHAR(MAX),
@SQLquery AS NVARCHAR(MAX)
set @tblCustomers='tblCustomers';
set @SQLquery = N' delete from EMAIL where EmailID
in (select EmailID from '+@tblCustomers+')'
exec sp_executesql @SQLquery;
syed shanu
5-Dec-14 1:22am
View
need more details.provide sample data and tell us what will be your Input and what you are expecting as output.
syed shanu
5-Dec-14 0:53am
View
Need more detail.
You mention it as asp.net. so dont fix the drice as D or C.Place all your files in your root folder.
syed shanu
5-Dec-14 0:26am
View
What do you mean of multiple data in to specific column.do you want to store many values in one column for example TOname.text="toname1,toname2,toname3" like this.add more details to your question with example data and what input you want to give and what output you are expecting.
syed shanu
4-Dec-14 19:58pm
View
Loaded in Visual studio ?
Can you explain bit more with some example about your requirement.
syed shanu
4-Dec-14 8:48am
View
Thank You :)
syed shanu
4-Dec-14 3:39am
View
Good - mark it as Answerd.
syed shanu
4-Dec-14 3:32am
View
OK Cool :)
syed shanu
4-Dec-14 3:25am
View
What is the problem Its working fine for me.
Opening a new Notepad.
private void button1_Click(object sender, EventArgs e)
{
System.Diagnostics.Process.Start("notepad.exe");
}
syed shanu
4-Dec-14 2:40am
View
use google before asking questions .There is lots of samples available from google.Check few links.
http://www.aspsnippets.com/Articles/Disable-F5-Key-Button-and-browser-refresh-using-JavaScript-or-jQuery.aspx
http://stackoverflow.com/questions/2482059/disable-f5-and-browser-refresh-using-javascript
http://www.dotnetfunda.com/forums/show/12128/how-to-disable-refresh-button-on-browser-using-javascript
syed shanu
4-Dec-14 2:27am
View
You have to create SQL Job.In YOUR SOL JOB you can execute your Stored procedure for every 5 days.
check this link for how to create SQL JOB
http://www.codeproject.com/Tips/620768/Create-New-Jobs-In-SQL
http://www.youtube.com/watch?v=SGynpt81IlE
syed shanu
4-Dec-14 2:18am
View
Ok Good - Mark as answer accepted:)
syed shanu
4-Dec-14 1:28am
View
Check this link
http://stackoverflow.com/questions/4849671/how-can-i-turn-off-the-x-axis-labels-in-an-asp-net-chart-control
syed shanu
4-Dec-14 1:24am
View
and can you check your code.
comboBoxMake.ValueMember = "Item_Make";
comboBoxMake.DisplayMember = "Item_Make";
comboBoxMake.DataSource = dtItem;
change this to
comboBoxMake.DataSource = dtItem;
comboBoxMake.DisplayMember = "Item_Make";
comboBoxMake.ValueMember = "Item_Make";
syed shanu
4-Dec-14 1:23am
View
did you check with break point.Did you get selected item text of your first combo box.
Did you check your Datatable using break point is the datas are populated to your datatable.
adp.Fill(dtItem);
comboBoxMake.ValueMember = "Item_Make";
syed shanu
4-Dec-14 1:03am
View
Your question is not clear can you give more details .And where do you call FirstGridViewRow().In this method you do create column and row.i think this is wrong .Hope you need to create separate method to create column for datatable and then create separate method to add rows to data table.
syed shanu
4-Dec-14 0:41am
View
So what is your question.what have you tried so far.Hope in SDk there might be sample program for basic interface.
syed shanu
4-Dec-14 0:36am
View
Can you provide your sample data.give detail of your actual data and in what format you want the result.Improve you question with more detail.
syed shanu
3-Dec-14 3:44am
View
Question not clear provide more details with example
syed shanu
3-Dec-14 3:33am
View
Select data from db to datareader or dataTable or to Dataset.
Inside loop call your send mail function and pass email address to funtion.its simple.
syed shanu
3-Dec-14 3:12am
View
Check this link.
Very simple and easy to use console program to send mail.
http://www.codeproject.com/Tips/301836/Simple-SMTP-E-Mail-Sender-in-Csharp-Console-applic
You have to add your logic here to get email from db and send
syed shanu
3-Dec-14 1:37am
View
HI i updated your question with your codfe part to pre tag , but it seems like missing?Can you check it
syed shanu
3-Dec-14 0:01am
View
Solution with what. There are no details to help. You have repeated your question two times. If you want to get answer, you should proper details or your requirement.
Like Smart card means what type of card and what you have tried so far and where you have problem like that.
syed shanu
2-Dec-14 21:38pm
View
HI,
Do you want to display both b.bat and a.bat file lines to display in 2 separate column of list view for example first column display b.bat file line and 2nd column of listview display a.bat of line.
If you tell more clearly your requirement it will be easy to tell the solution.
syed shanu
2-Dec-14 19:56pm
View
Check this link :
http://stackoverflow.com/questions/4457607/javascript-inserting-data-into-html-table
http://stackoverflow.com/questions/20562718/add-data-to-table-using-onclick-function-in-javascript
http://www.redips.net/javascript/adding-table-rows-and-columns/
syed shanu
2-Dec-14 19:52pm
View
Check this link how this will help you.
http://www.codeproject.com/Tips/663532/How-to-Perform-Sorting-in-Gridview-in-ASP-NET
http://www.dotnetfox.com/articles/gridview-sorting-example-in-Asp-Net-using-C-Sharp-1082.aspx
http://www.dotnetlearners.com/blogs/view/69/Aspnet-gridview-sorting-example.aspx
syed shanu
2-Dec-14 19:49pm
View
Can you provide table create and with sample insert query. It will be easier to get what you want.
syed shanu
2-Dec-14 19:47pm
View
Can you explain more clearly? It’s odd to understand the question.
syed shanu
2-Dec-14 19:11pm
View
Check this link hope this will be useful for you.
http://www.experts-exchange.com/Networking/Misc/Q_21545829.html
https://iihelp.iinet.net.au/support/node/261
syed shanu
2-Dec-14 4:37am
View
HiIn my article you see the steps to add shockwave com object to your project.fallow that
syed shanu
2-Dec-14 3:50am
View
Check this links hope this will help you.
http://www.codeproject.com/Articles/2786/Online-Quiz
http://www.c-sharpcorner.com/forums/thread/171985/how-to-develop-a-online-quiz-system-in-Asp-Net.aspx
http://www.dotnetspider.com/projects/1389-online-examination-system.aspx
https://onlinequiz.codeplex.com/
syed shanu
2-Dec-14 3:43am
View
So what is the problem.Where is your code.
syed shanu
2-Dec-14 3:14am
View
Why do use nVLC Player you can use windows media player.
Check my article to play audio and video files.
http://www.codeproject.com/Articles/844451/Audio-and-Video-Player-Csharp-Winform
syed shanu
2-Dec-14 2:56am
View
Check this links ,This will help you to solve your problem.
http://www.mikesdotnetting.com/article/75/simple-login-and-redirect-for-asp-net-and-access
http://www.aspsnippets.com/Articles/Simple-User-Login-Form-example-in-ASPNet.aspx
syed shanu
2-Dec-14 2:08am
View
You can write your click event code in mouse down event and set focus to other controls.
syed shanu
2-Dec-14 1:48am
View
yes if you only mouse click event.Then insted of Button Click Event .you can use the Mouse Down Event.this will avoid the border even when you click.
private void button1_MouseDown(object sender, MouseEventArgs e)
{
MessageBox.Show("sdf");
treeView1.Focus();
}
syed shanu
2-Dec-14 1:28am
View
Yes i try your reuirement as i told you one simple solution is you can just set focus to some other control in button click event.
I add tree view and 3 buttons.
for button 1 i write below code.
private void button1_Click(object sender, EventArgs e)
{
treeView1.Focus();
}
remaing 2 buttons didnt write the above code.
Now for button 1 there is no inner border and for remaining buttons there is the inner border.
syed shanu
1-Dec-14 23:39pm
View
Check this link Hope this will help you.
http://stackoverflow.com/questions/3476686/how-does-one-disable-a-button-in-wpf-using-the-mvvm-pattern
http://stackoverflow.com/questions/18372262/mvvm-enable-disable-button-with-a-converter
http://www.codeproject.com/Questions/179129/MVVM-Enable-Disable-button-via-a-PropertyChanged-e
syed shanu
1-Dec-14 4:35am
View
Check this link Hope this will help you.
http://www.codeproject.com/Questions/426966/System-Net-Sockets-SocketExcep
syed shanu
1-Dec-14 4:24am
View
This is the perfect answer :)
syed shanu
1-Dec-14 4:03am
View
You can check here few links related to loading User control at runtime.
http://www.codeproject.com/Articles/59781/Dynamic-Loading-of-ASP-NET-User-Controls
http://www.codeproject.com/Articles/26589/Dynamically-add-and-remove-user-controls
http://forums.asp.net/t/1608954.aspx?Dynamic+Add+of+Web+User+Control
http://www.c-sharpcorner.com/UploadFile/d3e4b1/dynamically-loading-usercontrol-into-webpage-using-Asp-Net/
syed shanu
1-Dec-14 3:52am
View
You can find the Solution below As Mr.Kornfeld Eliyahu Peter told.
syed shanu
1-Dec-14 2:35am
View
Use google before asking question.There is lots of simple sample projects available.
Here is one for you.
http://www.codeproject.com/Articles/93639/Simple-Shopping-Cart-Basket-User-Control-using-ASP
syed shanu
1-Dec-14 2:27am
View
Here you have everything as what you need check there website.
http://www.asptreeview.com/grid/
http://www.obout.com/grid/grid_tutorials_templates.aspx
syed shanu
1-Dec-14 1:45am
View
Before asking question do google you can find all your answers from there.
I copy your question and paste it in google i got this result.Hope this will help you.
http://www.codeproject.com/Articles/380769/Creating-an-FTP-Server-in-Csharp-with-IPv-Support
http://www.codeproject.com/Articles/17202/Simple-FTP-demo-application-using-C-Net
http://www.codeproject.com/Tips/443588/Simple-Csharp-FTP-Class
http://stackoverflow.com/questions/12661744/ftp-request-to-server-can-not-connect-remote-server
http://msdn.microsoft.com/en-us/library/system.net.ftpwebrequest(v=vs.110).aspx
http://www.techrepublic.com/blog/how-do-i/how-do-i-use-c-to-upload-and-download-files-from-an-ftp-server/
syed shanu
1-Dec-14 1:39am
View
You can create a array and i hope for example you have placed all your controls in panel or in div or etc in Button click of form1 get all textbox value and store it in string array. Finally set the array to session. In next page from session get the Array value and set all the values to corresponding textbox.
syed shanu
1-Dec-14 1:28am
View
Check this link for javascript count down .
Now you have to place this in your gridview.
http://www.codeproject.com/Questions/260124/Countdown-timer-in-asp-net
syed shanu
1-Dec-14 1:23am
View
can you post you code here and what did you try so far.
syed shanu
1-Dec-14 1:21am
View
where do you call your User Control Dynamically .example in button click,Page load etc and can you paste your code here.
syed shanu
1-Dec-14 1:17am
View
You have mention its third party API.Hope you can get better help from their.Might be they will support you to solve the problem.
syed shanu
1-Dec-14 1:15am
View
Check this link hope this will help you.
http://msdn.microsoft.com/en-us/library/system.web.ui.updatepanel.update(v=vs.110).aspx
syed shanu
1-Dec-14 1:09am
View
So what is your problem and where do you stuck.
syed shanu
1-Dec-14 1:04am
View
Can you post your code here
syed shanu
30-Nov-14 21:11pm
View
Check my sample graph program here.This can be used in Real time data gathering
http://www.codeproject.com/Articles/797318/SPC-XBAR-and-Range-Chart
Using this hope you can do for yourself.
syed shanu
28-Nov-14 4:02am
View
HI,
Check this links hope this will help you.
http://forums.asp.net/t/1945712.aspx?page+break+after+n+rows+in+datalist
http://codeverge.com/asp.net.presentation-controls/how-to-insert-a-page-break-insi/491605
syed shanu
28-Nov-14 2:28am
View
HI,
Sorry for that in tag i saw SQl .I dont have Mysql .I check for the solution the below link seems it will work for you try this.
CREATE DATABASE hindi_test
CHARACTER SET utf8
COLLATE utf8_unicode_ci;
USE hindi_test;
CREATE TABLE `hindi` (
`data` varchar(200) COLLATE utf8_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `hindi` (`data`) VALUES
('कंप्यूटर');
Link :
http://stackoverflow.com/questions/11292898/how-to-insert-hindi-language-in-mysql
http://srinix.wordpress.com/2007/08/29/tutorial-how-to-store-utf8-indian-language-data-in-mysql/
syed shanu
28-Nov-14 1:58am
View
First can you tell why you want to call stored procedure from select query
syed shanu
28-Nov-14 1:29am
View
Check my article related to adding button controls to radgrid.
I hope this article will be helpful to you.
http://www.codeproject.com/Articles/814960/Telerik-RadGrid-Helper-Class-for-ASP-NET
syed shanu
25-Nov-14 3:37am
View
And also the users requirement is not for trigger event on mouse click .if he asked that well the solution for it will be as write a common function and call it in mouse click event.
syed shanu
25-Nov-14 3:35am
View
The answer is accepted by the user.Its no meaning of your vote here
syed shanu
25-Nov-14 2:45am
View
I think his aim is not to disables selection of Arrow-keys using the arrow key .His aim was not to do any process during arrow key press and he want to perform action only in mouse click. My sample will work in that case. Since I did few conversations with him and get for what he need and then made this sample.
syed shanu
24-Nov-14 23:38pm
View
can you post your previous code
syed shanu
24-Nov-14 23:32pm
View
not understand what you mean
syed shanu
24-Nov-14 21:14pm
View
Which line did you get the error.use break point and check for each line of code and find where exactly you get the error.
syed shanu
24-Nov-14 21:12pm
View
You can use some status variable and chek for mouse click event for exampole declare one global Boolean variable ,bool IsMouseclicked=false;
and in key prese set the IsMouseclicked=false and in muce click event set it to true IsMouseclicked=true; in selected index change event check for the
if(IsMouseclicked)
{
your code .....
}
syed shanu
24-Nov-14 19:46pm
View
What type of dll class your making.First you can plan your project is realy dll need for your project or in your winform project just add an classs and access the class in your winform.if you provide more details about your requirement it will be easy for others to support you.As David_wimbley suggest its better you can add your dll project to your winform project.
syed shanu
24-Nov-14 19:42pm
View
Hi,
Its better you can use Stored Procedure .Insted of hitting Db every delete and select you can write one Sp and hit the DB one time.In your SP you write all your delete query and you can write both select query and return the result.In your code you can use the Tables[0] and Tables[1] to display in separate grid.
syed shanu
24-Nov-14 19:14pm
View
I think you need to select the distinct and use group by in select query to avoid the duplicate values
syed shanu
20-Nov-14 21:32pm
View
Check this link Hope this will help you.
http://www.codeproject.com/Articles/27121/Stream-YouTube-Videos-in-WPF
syed shanu
18-Nov-14 0:28am
View
can you paste your full query here so that it will be easy to find your problem,need to check wheater are you using any order by in you query.
syed shanu
17-Nov-14 8:27am
View
not much clear.
you can copy your project in one computer using USB or if its connected in Intranet. Using remote desktop you can copy from one machine to another machine.
syed shanu
17-Nov-14 6:37am
View
Hi,
Check this links hope this will help you.
http://www.freevbcode.com/ShowCode.asp?ID=5915
http://stackoverflow.com/questions/4122691/getting-screen-resolution
http://stackoverflow.com/questions/9620672/how-to-get-total-pixel-size-of-the-screen
syed shanu
5-Nov-14 23:04pm
View
Where do you get your exception ,
And why you are repeating the same code 2 time for example here
if (!IsPostBack)
{
get_T_No();
}
if (!IsPostBack)
{
start_exam();
}
syed shanu
5-Nov-14 21:44pm
View
Hi,
I ahve a question will you add,update and delete records only in your datatable or to your DB.
if you do in your DB ,Instead of joining 2 tables you can write a new Join query from db and bidn the result to datagridview every time you do insert,update or delete.
if you explain with more details about requirement it will be easy to find the better solution.
syed shanu
5-Nov-14 5:39am
View
Why do you want like this.You can also result as one dataset by joining both table and produce one select statement
syed shanu
5-Nov-14 4:30am
View
So what is the problem ,where you want to check in you sql db or by your c# code from label input.
syed shanu
5-Nov-14 3:18am
View
I hope all the data will be display from the database.When ever there is new record (Message) inserted you might use two more column as MessageStatus and user ID and default you can set the MessageStatus as fales and add the userID.
When ever user login and click the new message update the record with user id and messageStatus to True which means the user has readed the message.In your main form you can use timer and always check and refresh the data from the message table somethings like select * messagetable where messagestatus="false" which will display all the unread records.
hope this will help you.
When the user click the message
syed shanu
4-Nov-14 2:32am
View
How do you send and receive your messages,How to find the unread messages from your application with out knowing this its difficult to help you.
Provide more details of your application and your need.
syed shanu
4-Nov-14 2:25am
View
What is your problem.
What you have tried so far.
Are you working with VB.Net web application with MYSQL project currently.
make your question more clear and ask your questions gently ,Dont order some one to answer your question as "If not then tell me what is the reason"
syed shanu
4-Nov-14 1:48am
View
In your javascript function first you need to check for textbox not empty.if its empty display alert and return false.if its not empty then continue with other validation.
You can also your ASP.Net validation controls
syed shanu
4-Nov-14 1:20am
View
In c# you can use "AddMinutes" to add or subtract mininutes from your dateTime,
For Example :
DateTime CurrentDateandTime = DateTime.Now;
DateTime FifteenMinLess = DateTime.Now.AddMinutes(-15);
syed shanu
4-Nov-14 1:15am
View
so what is your problem.Do you get time from DB or you get current system Time from your code.
syed shanu
4-Nov-14 0:32am
View
you need to convert it into integer
int resourceType = Convert.ToInt32(row.Field("jbd_jobno"));
hope this will help you.
syed shanu
4-Nov-14 0:08am
View
what is meaning of start adn stop web application.Can you explain more detail about your requirment and why you need to run web application .
syed shanu
3-Nov-14 23:52pm
View
use google
syed shanu
3-Nov-14 23:28pm
View
yesterday you ask this same question,No one can answer you with this much information,explain it in detail and provide your table details
syed shanu
3-Nov-14 23:18pm
View
Chk this link,
Same question has been asked here hope this will solve you.
https://social.msdn.microsoft.com/Forums/en-US/0385aa4a-1db2-41e6-8431-f0a2835ae317/removing-empty-rows-from-dataset?forum=adodotnetdataproviders
syed shanu
3-Nov-14 23:13pm
View
One way is you need to select all bottom lines of excel and delete
syed shanu
3-Nov-14 23:11pm
View
Check with this links,If you give more detail about your needs ,it will be easy to sove your problems.
https://social.msdn.microsoft.com/Forums/vstudio/en-US/08046990-4583-4670-93c8-b4cf10de2263/how-to-detect-if-there-is-an-incoming-call-from-gsm-modem-in-c?forum=csharpgeneral
https://www.voicent.com/devnet/docs/csapi.htm#call_status
http://msdn.microsoft.com/en-us/library/aa446543.aspx
syed shanu
3-Nov-14 21:54pm
View
what do you want exactly,Why do you store db data to array,You can return as datatable or dataset
syed shanu
3-Nov-14 21:47pm
View
i think you need to check this line "this.form1.Controls" in foreach loop
syed shanu
3-Nov-14 21:44pm
View
chk this link hope this will help you,
http://www.mkyong.com/jsf2/how-to-display-datatable-row-numbers-in-jsf/
syed shanu
3-Nov-14 19:25pm
View
can you provide your table details
syed shanu
3-Nov-14 3:45am
View
check my Answer Hope that will help you.Similar question was been asked today hour before.
http://www.codeproject.com/Answers/837382/How-Can-I-Get-Formated-Result-In-Sql-Server#answer2
syed shanu
3-Nov-14 3:32am
View
here you have the mistake
In procedure you dont have any parameter but in your code you use parameter as ID
I think your proecedure should be like this.
create procedure contact_retrieve_all_procedure (
@Id int = 0
)
AS
BEGIN
select * from contact where id=@Id
END
syed shanu
3-Nov-14 3:27am
View
can you paste your procedure here.
syed shanu
3-Nov-14 3:26am
View
what error did you get
syed shanu
3-Nov-14 3:21am
View
Use Google,Lots of sample available there.if you really cont find any solution of your question using google then replay here will give you sample.
syed shanu
3-Nov-14 3:03am
View
improve your question with adding more detail,Provide your Table details and relational Table details
syed shanu
3-Nov-14 3:01am
View
use google and search for example.There is lot of sample related to this,Try with the sample.
syed shanu
3-Nov-14 2:49am
View
Thank You
syed shanu
3-Nov-14 2:49am
View
Thank You
syed shanu
3-Nov-14 2:42am
View
Can you improve your question .Its not clear about your requirement.
syed shanu
3-Nov-14 1:10am
View
I try the above example and play a Youtube vedio in my sample program.Webcontrols is not outdated.You have to uprade your IE to latest version.I give u suggestion,Then you can try to check for Chrom support web cotnrols.I saw your forum msg in EO as they dont give you proper response and it wont be good to buy there product and always finding problem in that.Insted of that try to make everything by your self.here i give you few more links hope this will help you.
http://sourceforge.net/projects/webkitdotnet/
http://www.awesomium.com/
http://stackoverflow.com/questions/9726549/how-to-run-html5-container-in-winform-application
http://stackoverflow.com/questions/8195646/html-5-css-3-web-browser-control-for-c-sharp
https://social.msdn.microsoft.com/Forums/windows/en-US/c25ed705-0e36-4554-bcb7-4f6fc0db864c/how-to-use-google-chrome-to-open-webpages-in-windows-forms
http://stackoverflow.com/questions/9983787/use-chrome-engine-in-webbrowser-control-winforms
http://stackoverflow.com/questions/790542/replacing-net-webbrowser-control-with-a-better-browser-like-chrome
syed shanu
3-Nov-14 0:33am
View
You can play YouTube vedio using "webBrowser" for example place a Textbox,Button and webBrowser Controls to your form.
In button Click wrtie the below code.
webBrowser1.Navigate(new Uri(@textBox1.Text));
In text box give the Youtube vedio link.
syed shanu
2-Nov-14 23:39pm
View
why do you want Third party controls to your application.Can you tell me what advanced featuers did you find in EO for your project and why cont you do with ASP.Net controls.
syed shanu
2-Nov-14 21:47pm
View
mean time check this links ,
https://social.msdn.microsoft.com/Forums/en-US/713c81a7-0eba-4200-958a-8e5c400b9df1/get-internet-history-of-all-browsers?forum=csharplanguage
http://stackoverflow.com/questions/2562092/how-to-access-google-chrome-browser-history-programmatically-on-local-machine
http://www.codeproject.com/Articles/7500/The-Tiny-Wrapper-Class-for-URL-History-Interface-i
Show More