15,895,283 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 Member 12003400 (Top 83 by date)
Member 12003400
27-Apr-17 10:38am
View
could you solve your this query?
Member 12003400
10-May-16 9:59am
View
You can take repeater or gridview anything. Just put it in div and make fix height and width,with overflow scroll css.
Member 12003400
10-May-16 9:57am
View
Paste your whole code here.
Are you using updatepanel?
Member 12003400
10-May-16 9:54am
View
Can you try putting some delay in between individual file uploads and check?
Member 12003400
10-May-16 9:45am
View
Don't pass date into dd-mm-yyyy format, Change date format method while inserting into SQL.
Member 12003400
10-May-16 9:40am
View
what is this Items_&_MultiBarcode? Is it a single table or view?
Member 12003400
10-May-16 9:37am
View
What have you try and what exactly you want to do? This email stands for what?
Member 12003400
30-Apr-16 3:39am
View
Pass childnode value as querystring with Navigation URL
Member 12003400
27-Apr-16 5:16am
View
try using update panel.
Member 12003400
25-Apr-16 1:23am
View
No ,,that's not possible. Your desktop application can run on your machine, you can't open in another machine.
Member 12003400
19-Apr-16 9:15am
View
Take onrowcommandevent and bind grid again on selected value.
Member 12003400
19-Apr-16 9:13am
View
Try to set tab index properly
Member 12003400
19-Apr-16 9:08am
View
Have you declared that event in GridView?
Member 12003400
18-Apr-16 1:20am
View
Please paste a code that you have tried so far.
Member 12003400
14-Apr-16 5:43am
View
call that function again which you are calling in main method.
Member 12003400
14-Apr-16 5:37am
View
can you add
httpruntime maxrequestlength="2097151"
in your webconfig?
Member 12003400
14-Apr-16 5:07am
View
you can manage with try and catch. Handle exception in catch properly and you can define what to proceed if exception occurs.
Member 12003400
14-Apr-16 5:03am
View
please check file name that is getting generated for above. In chrome preceding with "file\\" formate is supported where not in another browser. Try to get if fetch using http or localhost.
Member 12003400
14-Apr-16 4:59am
View
Please mention code to get value of date.
Member 12003400
14-Apr-16 3:47am
View
No you can not use it. ASP.net website should have permission to access your databse in same network
Member 12003400
14-Apr-16 3:43am
View
because it is setting tab index on that button and not moving further. Are you setting tab index in master page? If not required, remove it from master page and place in content page.
Member 12003400
14-Apr-16 3:23am
View
what is the role of calendar here? please make it clear your question.
Member 12003400
14-Apr-16 3:21am
View
yes provide what kind of difference you needed? You cant to fetch missing character or different characters or case of letter,,can be so many parameters.
Member 12003400
14-Apr-16 3:10am
View
please check improved question. I am not getting any data in annotation.
Member 12003400
18-Mar-16 6:15am
View
please elaborate your question. It is not understood.
Member 12003400
18-Mar-16 2:57am
View
Yes formatting can be done anytime as per requirements.
Member 12003400
19-Oct-15 9:47am
View
Use Picturebox for that.
PictureBox pb1 = new PictureBox();
pb1.ImageLocation = "Your Location";
Member 12003400
13-Oct-15 9:35am
View
put
if(dt != null && dt.Rows.Count > 0)
condition in ConvertColumnsAsRows
Member 12003400
13-Oct-15 5:01am
View
In case of totq is 1,,no chance of error,as you already put a condition if (totq.Contains(".")) and if the value is 1,it wont go further so your code will not execute. Try to give detail of your question.
Member 12003400
13-Oct-15 1:35am
View
Put a breakpoints and check,,also check parameter values,
Member 12003400
13-Oct-15 1:32am
View
Can you elaborate your question properly?
As just to bind crystal report, on dropdownlist selection change event,
crystalReportViewer1.ReportSource = Dataset; //Dataset of your own
crystalReportViewer1.RefreshReport();
Member 12003400
12-Oct-15 8:16am
View
your question is not proper. Word Tense is not a c# keyword.. Please mention your question in detail.
Member 12003400
9-Oct-15 7:56am
View
window.opener.location.reload();
Member 12003400
9-Oct-15 7:53am
View
remove padding from css and its working as you desired
Member 12003400
8-Oct-15 0:56am
View
Store credentials in cookie. and show again on login page
Member 12003400
7-Oct-15 9:57am
View
True.I have already read it. I want to create my own with existing functionalities. Can you tell me what shall i use to sync database?
Member 12003400
7-Oct-15 9:25am
View
yes the concept is clear but how to implement it?
Member 12003400
7-Oct-15 5:23am
View
It's okay..this forum is made for that purpose only. Plz accept solution if this worked.
Member 12003400
7-Oct-15 5:01am
View
you can use anything..Such functionality can be achieved using webform,mvc,winform anything. Please freeze your requirement/ Expectations first.
Member 12003400
7-Oct-15 4:53am
View
This will be difficult to understand.Please put your data structure and desired output.
Member 12003400
7-Oct-15 4:50am
View
Look at my improved solution..This code i have tried and it's working
Member 12003400
7-Oct-15 3:01am
View
press f12 after running and check if any error in developer tool console!!
Member 12003400
7-Oct-15 2:47am
View
Your case statement syntax is wrong. and what is @EntryMode,,it's not defined.
Member 12003400
7-Oct-15 2:44am
View
Any error?
Member 12003400
7-Oct-15 1:25am
View
Didn't get your question properly. If you don't want user to put password,,u can put id and password in code and your problem is resolved, but if you don't want to put password in code also,, It is impossible to achieve so,,
Member 12003400
7-Oct-15 1:16am
View
Try to execute query in sql how it is generated in .net.. check if any data coming in datatable or not..
Member 12003400
6-Oct-15 9:59am
View
put in pageload event
Member 12003400
6-Oct-15 9:19am
View
put a breakpoint and check where does it's giving error,it will give you exact object which is throwing null reference error.
Member 12003400
6-Oct-15 9:16am
View
In RDLC there is no such direct expression. Better you format your data before assigning to RDLC
Member 12003400
6-Oct-15 9:12am
View
Take a gridview with 3 item template,,having text box and bind with data table..On button click add row in datatable with empty text,,which will add a row in gridview.
Member 12003400
6-Oct-15 9:06am
View
refer this
http://serverfault.com/questions/108192/how-do-i-get-sql-server-to-release-its-memory
Member 12003400
6-Oct-15 4:51am
View
Please post your code for further details.
Member 12003400
6-Oct-15 0:49am
View
refre this link :
link
Member 12003400
5-Oct-15 6:48am
View
Use Ajax.
Member 12003400
5-Oct-15 6:41am
View
Question is not sufficient, ,, Pls upload code or elaborate ..
Member 12003400
3-Oct-15 7:08am
View
I hope this sounds more helpful than before
Member 12003400
3-Oct-15 6:48am
View
Well I already did googling . The only motto pf asking this question is it would reduce my time, research if anyone has done something similar like this before.
Member 12003400
2-Oct-15 1:14am
View
Dropdownlist can select only one value at a time. as you have used
if (item.Selected == true)
condition, it will take only one selected value. If you want to add other value from dropdownlist irrespective of it is selected, You can use DropDownList1.Items[0].Value to get data.
Member 12003400
2-Oct-15 0:57am
View
You can refer this link
link
Member 12003400
1-Oct-15 10:14am
View
Why don't you use crystal report? You can put images, links etc whatever you want and directly export to PDF.
Member 12003400
1-Oct-15 10:10am
View
Create any report. If you don't want user to see report, generate report internally and directly convert into PDF or word and display to user. You can export to excel as well.
Member 12003400
25-Sep-15 7:11am
View
what is datatype for CONCENTRATION field?
Member 12003400
25-Sep-15 7:06am
View
Or you will need to add the values in the one array one at a time.
Sqlconnection con2 = new sqlconnection(stringprovider); Con2.open();
Cmd2.connection=con2; Cmd2.commandType = new commandType.text;
Cmd2.commandText = string.Format("select * from Table2 where Productid in ({0})", string.Join(", ", parameters));
var parameters = new string[tempproductid.count];
for ( int I = 0; I < tempproductid.count; I++)
{
parameters[i] = string.Format("@Productid{0}", i);
Cmd2.Parameters.AddWithValue(parameters[i], tempproductid.items[i]);
}
Dataset Ds = new dataset(); sqldataadaptaer da1 = new sqldataadapter(cmd2);
Datatable Table2 = new Data table(); Da1.fill(table2);
Datagridview2.source = table2;
Member 12003400
25-Sep-15 5:13am
View
Are you using ajax model pop up?
Member 12003400
25-Sep-15 3:31am
View
OR TRY
$(window).load() or javascript's window.onload() or <body onload=""
Member 12003400
25-Sep-15 3:27am
View
Yes,Make a function and write your code in that function and call that function from aspx.cs page
like
function FUNCTIONNAME() {
$("#Checkboxlist1 :checkbox").attr('disabled', 'disabled');
$("#Checkboxlist1 :checkbox[value='Select All']").removeAttr('disabled');
$("#Checkboxlist1 :checkbox[value='Select All']").prop("checked", true);
});
Member 12003400
25-Sep-15 1:11am
View
Don't take rowdatabound, Take rowcommand event. Take a link button in first gridview to generate an command event. Clicking on link button generate command,on that command write logic to bind second grid. It will work.
Member 12003400
25-Sep-15 1:02am
View
For that first create one sql user with password. In your connection string also include that userid and password. and then include this line myreport2.SetDatabaseLogon("sqlusername", "userpassword", "sqlservername", "Issues", true);
Member 12003400
24-Sep-15 1:21am
View
Stop putting same questing again and again only with changing header.
Member 12003400
24-Sep-15 0:56am
View
You may follow some video series also. They will show you theory as well as practical aspects.
Member 12003400
24-Sep-15 0:53am
View
Try removing this line. It will work.
OR
myreport2.SetDatabaseLogon("WindowsLoginID", "LoginPAssword", "localhost", "Issues", true);
Member 12003400
23-Sep-15 8:25am
View
I have already understood your question. Only point to giving this link, what here they are doing is on selection displaying value, what you have to do on selection you have to assign value to hidden field.Than on insert function check hidden field value.
Member 12003400
23-Sep-15 8:12am
View
Refer below link.
http://www.codeproject.com/Tips/746697/Auto-Complete-TextBox-Using-jQuery-and-ASP-NET-MVC
Execute select and on select assign value in hidden field.
Member 12003400
23-Sep-15 7:59am
View
after your ajax request write this select code.Thats what i am telling you since my first reply.
select: function (event, ui) {
if (ui.item) {
var check = ui.item.id;
document.getElementById('Hiddenfieldid').value = check;
}
Member 12003400
23-Sep-15 7:31am
View
Use auto complete for your auto list.
Here select will execute only if we select value from suggested list.Than only it will assign value to hidden field else it will be blank.
$("#Textbox").autocomplete({
source: function (request, response) {
$.ajax({
url: '@Url.Action("", "")',
type: "GET",
dataType: "json",
data: { term: request.term },
success: function (data) {
response($.map(data, function (item) {
return {
lable: item.Name,
value: item.Name,
id: item.Id,
}
}));
},
});
},
select: function (event, ui) {
if (ui.item) {
var check = ui.item.id;
document.getElementById('hiddenfield').value = check;
}
},
minLength: 2,
});
Member 12003400
23-Sep-15 6:40am
View
Please accept answer if it works. SO this query can be closed.
Member 12003400
23-Sep-15 6:37am
View
select: function (event, ui) {
if (ui.item) {
var check = ui.item.id;
document.getElementById('Hiddenfieldid').value = check;
}
}
and then on insert button click
function functioninsert() {
var val1;
if ($("#Hiddenfieldid"))
val1 = $("#Hiddenfieldid").val();
if (val1== null || val1 == "") {
alert("Please Select Value.");
return false;
}
}
Member 12003400
23-Sep-15 6:32am
View
yes you can do with same. can put roe data bound like this.
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
HyperLink myHyperLink = e.Row.FindControl("myHyperLinkID") as HyperLink;
myHyperLink.NavigateUrl = (Label)e.Row.FindControl("LabelText")).Text;
//Or what ever link you want to assign
}
}
Member 12003400
23-Sep-15 3:17am
View
Your question is not clear. You want to get month name from date and find the difference means you want no. of days comes between these two dates?
Member 12003400
23-Sep-15 2:50am
View
Because It is trying to filter from Data set columns. Please give data set column name .Header Test is only for displaying purpose.
Member 12003400
22-Sep-15 10:26am
View
Please update details where are you keeping update panel? Means what all controls are included in your update panel?
Member 12003400
22-Sep-15 10:12am
View
I think it is because update panel.
Please add
<Triggers>
<asp:AsyncPostBackTrigger ControlID="btnSignUp" />
</Triggers>
Member 12003400
22-Sep-15 10:05am
View
Are you updating cache while inserting and updating records?
Please specify your question clearly. This is not that clear.
Show More