15,889,595 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 10918596 (Top 138 by date)
Member 10918596
19-Mar-18 7:20am
View
As per your requirement, what I see, you cannot check the online server for date. This is quite obvious for offline system.
So, you need to do few things -
set the registration date and expirydate in the form of high encypted data and save it somewhere in registry database.
While the Application opens each time, get the latest clock date and save the encrypted data in registry.
Ensure to check the Clock date and the Last Usage Date. If last usagedate < clockdate, then everything fine but if usagedate>clockdate, user has changed the clock date. So, don't update the registry.
Once the lastusagedate reaches the expiry date, pops a message "Your Trial has been expired.".
Member 10918596
17-Aug-17 5:42am
View
yes.each client i want to allow 5seconds difference to hit my method.
Member 10918596
17-Oct-15 5:49am
View
how to deserlize
Member 10918596
17-Oct-15 5:48am
View
it return object like this "allAdultFares":["0-5000.00","1-8000.00"]
Member 10918596
8-Oct-15 1:46am
View
i explained above
Member 10918596
8-Oct-15 1:30am
View
i need input hidden values and td rate values. how to get inforamtion my above hmtl table
Member 10918596
8-Oct-15 1:29am
View
i need to extract information my above html table
Member 10918596
8-Oct-15 1:09am
View
<table>
<div id="cal_nav" class="float_right"><ul class="inline">
<li>
Calendar View
</li> <li>
Bulk Update View
</li>
<li id="previous" class="first">
</li><li id="next">
</li></ul></div>October 2015
<thead>
<tr>
<th>Date</th>
<th>Occupancy</th>
<th>Net Rate</th>
<th>Sell Rate</th>
</tr>
</thead>
<tbody>
<input type="hidden" name="rateid" value="234154166">
<tr><td>1</td><td>single</td><td>1652</td><td>2500</td></tr>
<tr><td>2</td><td>single</td><td>1454</td><td>4344</td></tr>
<input type="hidden" name="rateid" value="234154134">
<tr><td>1</td><td>single</td><td>1652</td><td>2500</td></tr>
<tr><td>2</td><td>single</td><td>1454</td><td>4344</td></tr>
<input type="hidden" name="rateid" value="234154145">
<tr><td>1</td><td>single</td><td>1652</td><td>2500</td></tr>
<tr><td>2</td><td>single</td><td>1454</td><td>4344</td></tr>
</tbody>
</table>
MY Linq code:
var tds= (from td in doc.DocumentNode.Descendants("table")
select td).ToList()[2].ChildNodes[2];
var trer = tdsyh.SelectNodes("//input[@type='hidden' and @name='rateid']|tr").Select(x => x).ToList();
Member 10918596
5-Oct-15 10:02am
View
var date = item.ctroomlist
.Where(x => x.RoomTypeId == RoomTypeId).SingleOrDefault().ctroomrate
.Where(x =>
Convert.ToDateTime(x.Date) >= startDate &&
Convert.ToDateTime(x.Date) <= EndDate)
.ToList();
Member 10918596
5-Oct-15 9:59am
View
var date = item.ctroomlist
.Where(x => x.RoomTypeId == RoomTypeId).SingleOrDefault().ctroomrate
.Where(x =>
Convert.ToDateTime(x.Date) >= startDate &&
Convert.ToDateTime(x.Date) <= EndDate)
.ToList();
Member 10918596
14-Sep-15 9:02am
View
above list i need to implement via dynamic in for loop??
Member 10918596
14-Sep-15 9:01am
View
roomList = new[]
{
new { roomSeq = "54545", roomName = "A.c Room", tariffRequests = new[] { new { tarifSeq = "dfdf45b54", plan = "yu" } } },
new { roomSeq = "5454", roomName = "Del Room", tariffRequests = new[] { new { tarifSeq = "gdgfdg;l;gfd", plan = "Eu" } } },
new { roomSeq = "5422", roomName = "Suite Room", tariffRequests = new[] { new { tarifSeq = "fdght411", plan = "Euuu" } } },
new { roomSeq = "457", roomName = "Execu Room", tariffRequests = new[] { new { tarifSeq = "gfgfgf", plan = "tyt" } } },
new { roomSeq = "222", roomName = "NonRoom", tariffRequests = new[] { new { tarifSeq = "gfgfg", plan = "tyty" } } } }
},
This part how to use in for loop
Member 10918596
9-Sep-15 3:43am
View
i need to extract login information from above wsdl.How can i call to my code
Member 10918596
9-Sep-15 3:42am
View
autually i have one wsdl.Name like
https://*******/mmtadmin/rs/hotels?wsdl
Member 10918596
9-Sep-15 3:16am
View
how to use wsdl to my window application login method
Member 10918596
5-Sep-15 2:53am
View
i got invalid values in ExecuteNonQuery();
Member 10918596
3-Sep-15 5:32am
View
nice answer.
Member 10918596
3-Sep-15 2:58am
View
already i used one foreach with return type
Member 10918596
3-Sep-15 2:26am
View
but this totally Different
Member 10918596
3-Sep-15 2:25am
View
already saw above example
Member 10918596
3-Sep-15 1:59am
View
i am getting output in return view model,i need to write these output to console.HOW?????
Member 10918596
2-Sep-15 8:38am
View
i need to show those values in console window using c#
Member 10918596
2-Sep-15 8:37am
View
i got return values in list one by one(1,2,3,4,.....30)
Member 10918596
2-Sep-15 8:35am
View
How do I show a console output/window in a forms application
Member 10918596
21-Aug-15 7:56am
View
thank u xszaboj...
Member 10918596
21-Aug-15 7:46am
View
yes yes.
Member 10918596
21-Aug-15 7:37am
View
please update uncheck
Member 10918596
21-Aug-15 7:37am
View
ok fine it works only check condtion.i need uncheck also.
Member 10918596
21-Aug-15 7:04am
View
hi i need to check/uncheck each row diffent.
when i check first row ,i affects only in first rows all checkbox not at all second row checkboxes.
when i check second row ,i affects only in second rows all checkbox not at all first row checkboxes.
Member 10918596
20-Aug-15 5:28am
View
it loaded correctly bt i got error in var tds = (from td in doc.DocumentNode.Descendants("table")
select td).ToList()[2].ChildNodes[2];
this line
Member 10918596
20-Aug-15 5:27am
View
actually i extract some information from one html document.That case i got above error
Member 10918596
20-Aug-15 5:26am
View
i got error Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index
Member 10918596
12-Aug-15 1:30am
View
every time i click span values it changes textbox values in modal dialog
Member 10918596
12-Aug-15 1:28am
View
i need to show modal popup
Member 10918596
12-Aug-15 1:28am
View
i have updated my code
textbox = false;
$(document).on('click', '.updaterate', function () {
if (!textbox) {
alert('1111');
var input = $('<input />', { 'type': 'text', 'class': 'updaterate', 'name': 'aname', 'value': $(this).html() });
$(this).parent().append(input);
$(this).remove();
input.focus();
textbox = true;
}
});
$(document).on('blur', '.updaterate', function () {
if (textbox) {
alert('2222222');
var span = $('<span />', { 'class': 'updaterate' });
$(this).parent().append($(span).html($(this).val()));
$(this).remove();
textbox = false;
}
});
Member 10918596
4-Aug-15 3:22am
View
i got error below
Cannot implicitly convert type 'System.Collections.Generic.List<mvcapplication1.models.employee>' to 'iTextSharp.text.List'
and
The name 'ProductList' does not exist in the current context
Member 10918596
20-Jul-15 14:05pm
View
but how to call xml to aspx
Member 10918596
20-Jul-15 14:05pm
View
ok ok fine.i did grid view on my page
Member 10918596
20-Jul-15 13:48pm
View
i need to display employee details in one grid view using wcf and xml
Member 10918596
20-Jul-15 13:23pm
View
how to do?
give one idea
Member 10918596
20-Jul-15 13:10pm
View
i need to display employee details like
id name age
1 ram 25
2 ravi 36
in one web page using wcf in xml
Member 10918596
20-Jul-15 12:43pm
View
i need to display employee details in one web page using wcf and xml in dotnet
Member 10918596
4-May-15 5:41am
View
when i click link button repeater only refresh bt whole page posts back. how to solve this issue
Member 10918596
2-Mar-15 1:46am
View
how to slove this error example
Member 10918596
2-Mar-15 1:20am
View
Deleted
in that stored prodcedure i got one error Conversion failed when converting the varchar value
Member 10918596
2-Mar-15 1:17am
View
wow ..i forgot..thank u..i solved
Member 10918596
2-Mar-15 1:14am
View
how to solve?here only value does't passing. what can i do?
Member 10918596
2-Mar-15 1:13am
View
i put break point
cmd.Parameters.AddWithValue("@comment_id", comment_like.Value);..........>error
here only i got error
Member 10918596
2-Mar-15 0:49am
View
Object reference not set to an instance of an object.
Member 10918596
25-Feb-15 2:24am
View
autually i put yes/no in web page.when i clik yes,this store to database.
.when i clik NO,this also store to database
Member 10918596
24-Feb-15 23:15pm
View
thank u ....i got answer..very nice....
Member 10918596
24-Feb-15 7:45am
View
actually when i check outside, jquery working properly.but here i am using in repeater control in asp.net.every repeater item template i used one yes/NO item.in that repeater item template wherever only one place yes/NO jquery working,remaing each item is not working why?
Member 10918596
24-Feb-15 2:38am
View
can you give one example
Member 10918596
24-Feb-15 2:07am
View
when i click yes,color only change yes and when i click No,color only change No.then not select two same time
Member 10918596
24-Feb-15 1:56am
View
my query not working properly
Member 10918596
19-Feb-15 0:41am
View
i used to two table table...my stored procedure
ALTER PROCEDURE [dbo].[sp_new]
AS
BEGIN
declare @sql varchar(max)
SET NOCOUNT ON;
select @sql='select * from country;select * from state'
exec(@sql)
print(@sql)
END
Member 10918596
19-Feb-15 0:37am
View
i used datarow in one table.how to map this table to data row
Member 10918596
17-Feb-15 2:49am
View
any other way for multiple Dataset to multiple Excel sheets using interop.excel generation in C#.net
Member 10918596
17-Feb-15 2:49am
View
any other way for multiple Dataset to multiple Excel sheets using interop.excel generation in C#.net
Member 10918596
16-Feb-15 2:47am
View
Deleted
this s the correct way to genereate excel or not
Member 10918596
14-Feb-15 1:34am
View
Deleted
retrieves the excel sheet names from
an excel workbook
Member 10918596
12-Feb-15 5:52am
View
there are no solution in google already i searched...
Member 10918596
12-Feb-15 5:39am
View
pls give brief explantion and give example for this one
Member 10918596
9-Feb-15 7:55am
View
below code not working
Member 10918596
9-Feb-15 7:55am
View
protected void Getdata_Click(object sender, EventArgs e)
{
SqlConnection con = new SqlConnection(strcon);
con.Open();
cmd = new SqlCommand("sp_query", con);
cmd.CommandType = CommandType.StoredProcedure;
cmd.Parameters.AddWithValue("@query_name", txt_query_name.Text);
cmd.Parameters.AddWithValue("@queries", txt_query.Text);
da = new SqlDataAdapter(cmd);
DataSet ds = new DataSet();
da.Fill(ds);
if (ds.Tables[0].Rows.Count > 0)
{
DataRow dr = ds.Tables[0].Rows[0];
txt_query_name.Text = dr["query_name"].ToString();
txt_query.Text = dr["query"].ToString();
}
}
Member 10918596
6-Feb-15 8:00am
View
whatever query i enter in text box,and click to submit then it generates output directly to repeater with out connect any like using eval in repeater for item template.just i enter query in textbox directly o/p bind to repeater or grid view
Member 10918596
6-Feb-15 7:57am
View
i expect how to pass values to repeater
Member 10918596
6-Feb-15 7:47am
View
when i put one query in textbox and click button then how to show their output via grid view or repeater or data list in asp.net
Member 10918596
6-Feb-15 5:20am
View
give one example
Member 10918596
6-Feb-15 5:20am
View
above code is insert command and when i put one query in textbox and click button then how to show their query output in listbox in asp.net c#
Member 10918596
6-Feb-15 5:19am
View
con = new SqlConnection(strcon);
con.Open();
SqlCommand cmd = new SqlCommand("sp_query", con);
cmd.CommandType = CommandType.StoredProcedure;
cmd.Parameters.AddWithValue("@query_name",txt_query_name.Text);
cmd.Parameters.AddWithValue("@queries",txt_query.Text);
cmd.ExecuteNonQuery();
con.Close();
Member 10918596
6-Feb-15 5:16am
View
when i put one query in textbox and click button then how to show their query output in listbox in asp.net c#
Member 10918596
6-Feb-15 5:15am
View
when i put one query in textbox and click button then how to show their query output in listbox in asp.net c#
Member 10918596
6-Feb-15 5:11am
View
when i put one query in textbox,how to show their query output in listbox
Member 10918596
2-Feb-15 7:23am
View
when i click like how to come one text box and when i coment how to close textbox using javascript
Member 10918596
2-Feb-15 7:22am
View
how to count like and dislike in one page using sql server and asp.net
Member 10918596
28-Jan-15 0:29am
View
how to style a selected button/link with css or javascript
Member 10918596
6-Dec-14 2:03am
View
i changed but not working
<%@ Page Title="" Language="C#" MasterPageFile="~/home.master" AutoEventWireup="true" CodeFile="cal.aspx.cs" Inherits="cal" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<script src="js/jquery-1.7.2.min.js" type="text/javascript"></script>
<script src="js/jquery-ui-1.8.19.custom.min.js" type="text/javascript"></script>
<link href="css/ui-lightness/jquery-ui-1.8.19.custom.css" rel="stylesheet" />
<script type="text/javascript">
$(function () {
$("#ContentPlaceHolder1_txtDate").datepicker();
});
</script>
<style type="text/css">
.ui-datepicker {
font-size: 8pt !important;
}
</style>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<span style="color:gray;">dd/mm/yyyy</span><br />
<asp:TextBox ID="txtDate" runat="server"/>
Member 10918596
5-Dec-14 23:49pm
View
not working....
Member 10918596
5-Dec-14 6:15am
View
what is this?
Member 10918596
5-Dec-14 3:02am
View
when i remove this line i got new error The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Must issue a STARTTLS command first. w5sm19667503pdj.13 - gsmtp
Member 10918596
5-Dec-14 3:00am
View
not working
Member 10918596
5-Dec-14 2:35am
View
i got same error...
Member 10918596
5-Dec-14 2:27am
View
Forgot Password By Email Page Code In Asp.Net
Member 10918596
5-Dec-14 2:26am
View
when i run i got error The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required. Learn more at
Member 10918596
3-Dec-14 4:26am
View
first, when i load page image visible...
Member 10918596
3-Dec-14 4:18am
View
first, when i load page image visible...
Member 10918596
3-Dec-14 2:29am
View
my code not working
Member 10918596
3-Dec-14 2:29am
View
give example
Member 10918596
3-Dec-14 2:29am
View
my code is not working properly
Member 10918596
2-Dec-14 4:39am
View
i m getting this error Collection was modified; enumeration operation may not execute.
Member 10918596
2-Dec-14 4:39am
View
i m getting this error Collection was modified; enumeration operation may not execute.
Member 10918596
27-Nov-14 0:32am
View
here image uploading not working
Member 10918596
14-Nov-14 5:28am
View
sry i want selected checkbox row to PDF in ASP.Net bt here it shows image file only could not found
Member 10918596
8-Nov-14 2:47am
View
thank you..
Member 10918596
1-Nov-14 4:08am
View
i solved my self robert see above code
Member 10918596
1-Nov-14 4:02am
View
pls explain this row
Member 10918596
1-Nov-14 4:00am
View
thanks it s working
Member 10918596
1-Nov-14 3:48am
View
not working robert
Member 10918596
1-Nov-14 3:40am
View
ya sorry that s javasript
Member 10918596
10-Oct-14 2:46am
View
I am trying to export aspx page to PDF by using itextsharp.dll.
Member 10918596
10-Oct-14 2:28am
View
My asp.code
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" Width="624px" CssClass="grid"
AllowPaging="True" AllowSorting="True" BackColor="White" OnRowEditing="GridView1_RowEditing" OnRowCancelingEdit="GridView1_RowCancelingEdit"
BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="3" PageSize = "5"
OnRowUpdating="GridView1_RowUpdating" DataKeyNames="id">
<columns> <asp:TemplateField>
<itemtemplate>
<asp:CheckBox ID="chkchild" runat="server" AutoPostBack="true" />
<asp:BoundField DataField="id" HeaderText="id" SortExpression="id" InsertVisible="False" ReadOnly="True" />
<asp:BoundField DataField="username" HeaderText="username" SortExpression="username" />
<asp:BoundField DataField="password" HeaderText="password" SortExpression="password" />
<asp:BoundField DataField="mail" HeaderText="mail" SortExpression="mail" />
<asp:BoundField DataField="imagename" HeaderText="imagename" SortExpression="imagename" />
<
<asp:ImageField DataImageUrlField="uploadimage" HeaderText="uploadimage" ControlStyle-Width = "80" ControlStyle-Height = "100">
<controlstyle height="100px" width="80px">
<asp:CommandField ShowEditButton="True" />
<footerstyle backcolor="White" forecolor="#000066">
<HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
<rowstyle forecolor="#000066">
<SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
<sortedascendingcellstyle backcolor="#F1F1F1">
<sortedascendingheaderstyle backcolor="#007DBB">
<sorteddescendingcellstyle backcolor="#CAC9C9">
<sorteddescendingheaderstyle backcolor="#00547E">
Member 10918596
10-Oct-14 2:27am
View
autually my task is asp.net Export WebPage with Images to PDF using iTextSharp in C#
but i got error Could not find a part of the path 'C:\userimage\MAHA MITTAI.jpg'.
Member 10918596
10-Oct-14 2:14am
View
Asp.net Export WebPage with Images to PDF using iTextSharp in C#
Member 10918596
9-Oct-14 3:54am
View
give valuable comment
Member 10918596
7-Oct-14 7:17am
View
when i run it shows Must declare the scalar variable "@username".
Member 10918596
7-Oct-14 7:13am
View
Any one solve my error
Member 10918596
7-Oct-14 7:11am
View
ok i will try later now tell this error
Member 10918596
7-Oct-14 7:10am
View
when i run it shows Must declare the scalar variable "@username".
Member 10918596
30-Sep-14 7:47am
View
when i run this error only came
Member 10918596
30-Sep-14 7:44am
View
yes
Member 10918596
30-Sep-14 7:43am
View
error came like Must declare the scalar variable "@username".
Member 10918596
16-Sep-14 3:22am
View
sry sry i asked comment box..
Member 10918596
12-Sep-14 0:43am
View
how to redirect from log out to home page
Member 10918596
11-Sep-14 8:53am
View
or one log out example
Member 10918596
28-Aug-14 4:09am
View
public partial class register : System.Web.UI.Page
{
SqlCommand cmd;
SqlConnection con = new SqlConnection(*******);
SqlDataAdapter da;
DataSet ds;
DataTable dt;
SqlDataReader dr;
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
FillGrid();
}
Button3.Attributes.Add("onclick", "javascript:return Confirmationbox()");
}
Member 10918596
22-Aug-14 6:03am
View
can you give simple example
Member 10918596
22-Aug-14 6:03am
View
can you give simple example
Member 10918596
21-Aug-14 5:25am
View
xmlns:asp="#unknown" what is this?
Member 10918596
21-Aug-14 5:24am
View
here i am using delete command..
Member 10918596
18-Aug-14 5:38am
View
<table class="auto-style18">
<tr>
<td class="auto-style19" align="right">Login</td>
<td class="auto-style23">
</td>
<td class="auto-style20">
</td>
</tr>
<tr>
<td class="auto-style19" align="right">username</td>
<td class="auto-style23">
<asp:TextBox ID="TextBox2" runat="server" OnTextChanged="TextBox2_TextChanged" placeholder="E-mail" Height="25px" >
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox2" ErrorMessage="*">
</td>
<td class="auto-style20">
</td>
</tr>
<tr>
<td class="auto-style16" align="right">password</td>
<td class="auto-style24">
<asp:TextBox ID="TextBox3" runat="server" placeholder="password" TextMode="Password" Height="25px">
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox3" ErrorMessage="*">
</td>
<td class="auto-style17">
</td>
</tr>
<tr>
<td class="auto-style15"></td>
<td class="auto-style25"></td>
<td> </td>
</tr>
<tr>
<td class="auto-style21" align="right">
<asp:Button ID="Button1" runat="server" Text="Login" BackColor="#CC9900" CssClass="style16" Width="61px" />
</td>
<td class="auto-style26">
<asp:Button ID="Button2" runat="server" Text="Reset" style="margin-left: 15px" BackColor="#CC9900" CssClass="style16" Width="62px" />
<asp:Label ID="Label9" runat="server" Text="Register">
</td>
<td class="auto-style22">
</td>
</tr>
</table>
Member 10918596
18-Jul-14 7:16am
View
give example
Member 10918596
9-Jul-14 3:32am
View
auto textcomplete search...
Member 10918596
8-Jul-14 1:10am
View
same concept above mentioned.tell me the error..
Member 10918596
8-Jul-14 1:02am
View
above error came how to solve error...
Member 10918596
7-Jul-14 7:44am
View
give example pls
Member 10918596
7-Jul-14 7:34am
View
i got tis error The conversion of a varchar data type to a datetime data type resulted in an out-of-range value. ..
wht can i do pls help me...
Member 10918596
5-Jul-14 1:39am
View
i used single value ...tell me multiple values how to add..
Member 10918596
4-Jul-14 7:18am
View
MessageBox.Show("Eid='"+ds.Tables[0].Rows[0][0].ToString()+"'",
"Ename='"+ds.Tables[0].Rows[0][1].ToString()+"'");
Member 10918596
4-Jul-14 7:17am
View
MessageBox.Show("Eid='"+ds.Tables[0].Rows[0][0].ToString()+"'",
"Ename='"+ds.Tables[0].Rows[0][1].ToString()+"'");
Member 10918596
4-Jul-14 7:03am
View
lot of error came .pls solve my problem pls
Member 10918596
4-Jul-14 6:33am
View
Error- Argument 4: cannot convert from 'string' to 'System.Windows.Forms.MessageBoxIcon'
above error came ..wht can i do
Member 10918596
4-Jul-14 6:29am
View
Give example pls
Member 10918596
4-Jul-14 6:09am
View
Error-1
Argument 3: cannot convert from 'string' to 'System.Windows.Forms.MessageBoxButtons'
Error-2
The best overloaded method match for 'System.Windows.Forms.MessageBox.Show(string, string, System.Windows.Forms.MessageBoxButtons)' has some invalid arguments
two errors came ...wht can i do..
Member 10918596
4-Jul-14 6:08am
View
Error-1
Argument 3: cannot convert from 'string' to 'System.Windows.Forms.MessageBoxButtons'
Error-2
The best overloaded method match for 'System.Windows.Forms.MessageBox.Show(string, string, System.Windows.Forms.MessageBoxButtons)' has some invalid arguments
two errors came ...wht can i do..
Member 10918596
2-Jul-14 7:05am
View
output shows error like "Conversion failed when converting the varchar value 'System.Data.DataRowView' to data type int"
Member 10918596
2-Jul-14 6:54am
View
private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
{
MessageBox.Show(comboBox1.SelectedIndex.ToString());
if (comboBox1.SelectedIndex >= 0)
{
SqlDataAdapter da = new SqlDataAdapter("Select * From CountryState Where CountryId='" + comboBox1.SelectedValue + "'", con);
DataSet ds = new DataSet();
da.Fill(ds);
comboBox2.DataSource = ds.Tables[0];
comboBox2.DisplayMember = "State";
da.Fill(ds);-this line shows error....Conversion failed when converting the varchar value 'System.Data.DataRowView' to data type int
Member 10918596
2-Jul-14 6:05am
View
bt output shows error like "Conversion failed when converting the varchar value 'System.Data.DataRowView' to data type int"
Show More