 |

|
I have a view for import batches (headers, not details), which a link to start a new import. When the user clicks that link, I want to invoke my Import action method. Inside that standard, synchronous action method, I want to start an asynchronous task, and then redirect back to another view. That view will monitor the progress of the async task with ajax calls and update the view so the user can follow the progress.
Everything I can find goes into too much complexity with async action methods etc. which is overkill for me in the prototyping phase.
Suggestions and critique of what I want to do will be most welcome.
|
|
|
|

|
anyone plz tell me which is free version of iTextSharp library for pdf file exporting?
|
|
|
|

|
Comparison of MVC & n-Tier Architecture
Give comparison regarding their
->Advantages
->Disadvantages
->Purpose of use
etc etc
|
|
|
|

|
hi experts,
i am trying to install vsn server 2.5.9 from the link http://www.visualsvn.com/visualsvn/download/[^]
while installing vsn server i was asked to choose port no(2 port nos are displayed 443 & 8443).i have chosen 443 port no for https.so what i did is i removed https & selected 443 for visual vsn.now vsn is working fine.the issue i am facing is i am unable to run my application on iis using http.when i run my application i am getting "the address is incorrect,type the correct address".but the address is correct in the address bar.how to overcome this problem?if i want to run my application using https what port n do i have to choose?could anyone help me pls...
|
|
|
|

|
Okay so very easy to validate an email in ASP and also very easy to validate that someone enters between 6 and 30 characters but can someone help me in making sure that BOTH are checked in a Custom Validation perhaps. What I have for example:
<asp:CustomValidator ID="CustomValidator1" ClientValidationFunction="/^([_a-zA-Z0-9-]+)(\.[_a-zA-Z0-9-]+)*@([a-zA-Z0-9-]+\.)+([a-zA-Z]{2,3})$/" runat="server"
ControlToValidate="txtUserName" ErrorMessage="CustomValidator"
SetFocusOnError="True"></asp:CustomValidator>
I am sure it is something simple but just need to know. Right now all it is doing is just checking that the email is valid, but if nothing is on the field it checks nothing.
|
|
|
|

|
Hi Buddies,
I wanna to combine two columns with same heading using asp.net with c#.values i'm getting from database.
For example:
database retruning rows as
empid empname empdept empbranch
1 Suresh dev Bangalore
2 kavitha tester bangalore
3 Siva dev chennai
Required Result in UI is:
emp_personal emp_official
empid empname empdept branch
1 suresh dev bangalore
2 kavitha tester bangalore
3 siva dev chennai
|
|
|
|

|
I am using a CascadingDropdown for three dropdownlists for country,state and district.when the country is selected state will automatically get values,i have a tab index issue if the state value doesnt come on tabpress the control will on the fourth control that is after district dropdown.I had made tab index correctly any way to make it work nicely.If stae comes up with value then no problem.if it doesn't then irritating
lk
|
|
|
|

|
Hi all. I am writing a program using Microsoft Visual Web Developer. I have 3 textboxes (TextBox1, TextBox2 and TextBox3) and a button. I want to use a foreach loop to clear textboxes.
For some reason this code doesnt work on a Webform. While debugging it, the debugger skips the line: "if (c is TextBox)" and so the textboxes dont get cleared. Here control = {ASP.default_aspx}
When I use the below code in Microsoft Visual C# with a windows form it works. What could be wrong?
Here is the code:
protected void Button1_Click(object sender, EventArgs e)
{
ClearTextBoxes(this);
}
public void ClearTextBoxes(Control control)
{
foreach (Control c in control.Controls)
{
if (c is TextBox)
{
((TextBox)c).Text = " ";
}
}
|
|
|
|

|
I Want To Validate my Windows Project while User can not Share this project to another or in One year Project will be Expired
Like An Antivirus Program Expired after One or two months
|
|
|
|

|
hi,
can anyone suggest me the best book for mvc4 pls
|
|
|
|

|
Ok this has sort of been asked before but also somewhat differently here. I have a regular drop down (not connected to a database) that just has the topics of subjects.
This is a sample of what I have:
<asp:DropDownList id="ddlcourseType" runat="server"
onselectedindexchanged="ddlcourseType_SelectedIndexChanged"
AutoPostBack="True">
<asp:ListItem Value="None">Please Select</asp:ListItem>
<asp:ListItem Value="Engl">English</asp:ListItem>
<asp:ListItem Value="Math">Math</asp:ListItem>
<asp:ListItem Value="Soci">Social Studies</asp:ListItem>
<asp:ListItem Value="Scie">Science</asp:ListItem>
<asp:ListItem Value="Hist">History</asp:ListItem>
</asp:DropDownList>
I want to make it so that when it changes the next part will search and select teachers that teach that specific subject. I am using an Access Database for connection.
I have pieced together some of what others did in an attempt to get it to work but no.
protected void ddlcourseType_SelectedIndexChanged(object sender, EventArgs e)
{
OleDbConnection dbConn = null;
OleDbCommand dbCmd;
OleDbDataReader dr;
String strConnection;
String strSQL;
string path = Server.MapPath("eAcademy_DB.mdb");
string Teachable = Convert.ToString(ddlcourseType.SelectedValue);
strConnection = "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source=" + path;
dbConn = new OleDbConnection(strConnection);
dbConn.Open();
strSQL = "select * from tblEmployee where canTeach=" + Teachable;
dbCmd = new OleDbCommand(strSQL, dbConn);
DataSet ds = new DataSet();
dbConn.Close();
ddlTeacher.DataSource = ds;
ddlTeacher.DataTextField = "emp_ID";
ddlTeacher.DataValueField = "emp_ID";
ddlTeacher.DataBind();
ddlTeacher.Items.Insert(0, new ListItem("--Select--", "0"));
if (ddlTeacher.SelectedValue == "0")
{
ddlTeacher.Items.Clear();
ddlTeacher.Items.Insert(0, new ListItem("--Select--", "0"));
}
}
I think what I really need to do is make a for loop and have it iterate for the amount of teachers that are in the list, and then have it populate the list, but not sure how exactly to do this.
It is hanging up on the ds part each time. I know the databind is causing it so this is why I thought perhaps better to iterate this? Any help would be appreciated.
The values from the first list are in the tblEmployee for "T" Teachers that can teach those classes. So that is why I want to 2nd drop down populated with their names. Thanks!
|
|
|
|

|
Hi All,
I have an asp.net application in which I am using two tables, Table1 and Table1Staging. Staging table data is updated every month.
And both have the same columns except the identity columns for the two tables are different. The reason for that is Table1 is transactional table so that we have to use an Identity columnfor that, here we are doing it with Unique Identifier. And there is an identity column in Staging table as auto increment integer for the sake of Entity Framework.
They both have a unique contraint column called clientId on which I am going to write all the logic to update or modify.
Now my question is I want to get all the rows in the staging table whose clientid exists in staging table but doesnt exist in transactional table, similar to not in operator in SQL Query.
Please if somebody can help me that would be really helpfull. I am searching from my side also. But if someone can help me its really great.
Thanks in advance.
Thanks & Regards,
Abdul Aleem Mohammad
St Louis MO - USA
modified 17 May '13 - 17:44.
|
|
|
|

|
Hi @all
I´m new to Expressiontrees and their invocation...
but they seem to be really mighty and useful...
I know that one can extend expressiontrees, but up until now I wasn´t been able to fully comprehend how to do that..
practically I want to "convert" this lambda into an expressiontree:
(o => o.LognName == name)
and I do that by this
Expression<Func<Users_UserAccount, bool>> whereLogonName = LinqExtender.DynamicLinq.BuildOrTree<Users_UserAccount, string>(LogonName, UserAccount => UserAccount.LogonName);
so far so good. I also know that I now can query multiple users... fine thing...
what´s really cool about this is, that expressiontree returns whatever you need takes any type of parameter... a fine thing would be if I was able to pass the correct "sql/linq" query to it...
to be honestly, my desire goes for this:
(o => o.LognName == name && o.LogonPW == "12345")
now my question is:
how to link different params in an expressiontree?
I heard about
Expression.Or
Expression.And
and am using it, but I feel that this does not function properly and as desired...
here´s my function of the treebuild:
public static Expression<Func<TValue, bool>> BuildOrTree<TValue, TCompareAgainst>(
IEnumerable<TCompareAgainst> wantedItems,
Expression<Func<TValue, TCompareAgainst>> convertBetweenTypes)
{
ParameterExpression inputParam = convertBetweenTypes.Parameters[0];
Expression binaryExpressionTree = BuildBinaryOrTree(wantedItems.GetEnumerator(), convertBetweenTypes.Body, null);
return Expression.Lambda<Func<TValue, bool>>(binaryExpressionTree, new[] { inputParam });
}
I've found that on the interwebs...it´s NOT mine...but with very few changes, I've also implemented the AND-equivalent. whoa... what an effort...
so, to put long things short:
how to combine the both of them to achieve the desired query?
thanks in advance!
what a cool community
[edit]
forgot that:
private static Expression BuildBinaryOrTree<T>(
IEnumerator<T> itemEnumerator,
Expression expressionToCompareTo,
Expression expression)
{
if (itemEnumerator.MoveNext() == false)
return expression;
ConstantExpression constant = Expression.Constant(itemEnumerator.Current, typeof(T));
BinaryExpression comparison = Expression.Equal(expressionToCompareTo, constant);
BinaryExpression newExpression;
if (expression == null)
newExpression = comparison;
else
newExpression = Expression.OrElse(expression, comparison);
return BuildBinaryOrTree(itemEnumerator, expressionToCompareTo, newExpression);
}
sorry
ps:hopefully I dove into the correct forum...
aaargh, ultraedit:
addendum:
LogonName in the lambda was of type string, the Expressionparam is of type string[]
addendum 458:
as one might suspect:my math knowledge is not that sophisticated... the term binarytree is familiar to me since 4 days or 5...
but, i´m somewhat able to use it...
just like luke skywalker and his lasersword...
he is capable to use it as a weapon, but is he able to assemble it!?
modified 17 May '13 - 9:25.
|
|
|
|

|
Hi,
I have seen in some website they use different fonts than the standard. For example:
.yakoutb
{
font-family: 'Yakout W20 Bold';
}
How can I do this?
Technology News @ www.JassimRahma.com
|
|
|
|

|
Hi,
I have a Datalist Which have some linkbuttons which redirects to other page with querystring .
on click it is redirecting to other page with QueryString.
If i am right click on the datalist linkbutton and try to open in new tab, only blank page is opening.
Guys if u have some solution regarding this please help me.
Regards,
Mrityunjay
|
|
|
|

|
need to download file when user click on file .
|
|
|
|

|
I need a freeware or the any .dll or any project that can take a pdf as input and convert the images inside the pdf into a text (.txt ) fromat. and the programming language used is C#
This can be done in two ways:-
1)Take Input pdf and Extract images.--1st API.
2) Take the extracted images and convert to .txt & also convert the text inside the pdf to plain text(.txt) -- 2nd API.
OR 2nd way :-
1) Take pdf input and directly extract text from images as well as the text inside the pdf.
------------------Please HELP------
Thanks a lot.
~Regards
Kaushal Behere
kaushalpbehere@gmail.com
kaushalpbehere@hotmail.com
|
|
|
|
 |
Message Automatically Removed
|
|
|
|

|
Hi people,
Could you please help me on how to convert an html document to a pdf document. I need like a free third party tool that can do the job. I've tried iTextsharp but it won't copy the styles from the html document to the pdf file. I've also tried Winnovative, but it prints out a watermark specifying that I am using a demo version.
I need a solution that can convert the file to pdf without the watermark but with the styles. Thanks a lot in advance guys.
Kind Regards,
Denzil.
|
|
|
|

|
I was giving a project to remove all silverlight components from a website. my question is this possible or should I just rewrite the site as an asp.net wed application
|
|
|
|

|
Hi, I need Chat box component (like as FB chat room) for a social network site.
|
|
|
|

|
I use WebMatrix 3. I've got an ASP.NET Web Pages site that draws fractals, it uses a SQL Compact database and works fine locally.
But after I published it to the Azure Cloud and tried it, I get an error in the Database.cshtml that it doesn't work. Error: Failed to find or load the registered .Net Framework Data Provider.
The URL is: http://aljo-fractals.azurewebsites.net Click on the option Database and you'll get to see the error.
I guess I need to add a framework to use the database, where do I get that?
This must be easy to fix, but how...
|
|
|
|

|
Hi,
I have developed an ASP.net VB application on 1.1 in which we insert certain data into a particular table which is on sybase.
My table structure:
CREATE TABLE dbo.at_ip_disbursement
(
doc_id numeric(7,0) IDENTITY,
doc_type varchar(30) NOT NULL,
rim_no int NOT NULL,
item_type varchar(80) NULL,
customer_name varchar(80) NOT NULL,
rsm_name varchar(80) NOT NULL,
branch_no int NULL,
business_unit varchar(30) NOT NULL,
input_dt datetime NOT NULL,
Category varchar(30) NULL,
deferral_details nvarchar(600) NULL,
days_deferred int NULL,
Deff_Expdt datetime NOT NULL,
Deferred_Dt datetime NULL,
rm_comments nvarchar(600) NULL,
creator_id varchar(10) NULL,
modifier_id varchar(10) NULL,
status char(1) NOT NULL,
App_Authority nvarchar(600) NULL
)
LOCK ALLPAGES
go
IF OBJECT_ID('dbo.at_ip_disbursement') IS NOT NULL
PRINT '<<< CREATED TABLE dbo.at_ip_disbursement >>>'
ELSE
PRINT '<<< FAILED CREATING TABLE dbo.at_ip_disbursement >>>'
go
Now the piece of code where the insert takes place:
Public Shared Function AddDisbursement(ByVal DocType As String, ByVal Rim As Int32, ByVal CustomerName As String, ByVal RSMName As String, ByVal BranchNo As Int32, ByVal Business As String, ByVal InputDate As String, ByVal Category As String, ByVal DeferralDetails As String, ByVal DeferredDays As String, ByVal DefExpDate As String, ByVal DefDate As String, ByVal RMComments As String, ByVal CreatorId As String, ByVal App_Authority As String, ByVal Item As String) As String
Dim logger As SKLogger = New SKLogger
Dim connMosaic As String = System.Web.HttpContext.Current.Session("connStr").ToString()
Dim cmdText As String
cmdText = "INSERT INTO at_ip_disbursement(" & _
"doc_type, " & _
"rim_no, " & _
"customer_name, " & _
"rsm_name, " & _
"branch_no, " & _
"business_unit, " & _
"input_dt, " & _
"Category, " & _
"deferral_details, " & _
"days_deferred, " & _
"Deff_Expdt, " & _
"Deferred_Dt, " & _
"rm_comments, " & _
"creator_id, " & _
"status, " & _
"App_Authority, " & _
"item_type) " & _
"VALUES (" & _
"?," & _
"?," & _
"?," & _
"?," & _
"?," & _
"?," & _
"?," & _
"?," & _
"?," & _
"?," & _
"?," & _
"?," & _
"?," & _
"?," & _
"'A'," & _
"?," & _
"?)"
Dim conn As OdbcConnection = New OdbcConnection(connMosaic)
Dim cmd As OdbcCommand = New OdbcCommand(cmdText, conn)
cmd.Parameters.Add("@DocType", OdbcType.VarChar).Value = DocType
cmd.Parameters.Add("@Rim", OdbcType.Int).Value = Rim
cmd.Parameters.Add("@CustomerName", OdbcType.VarChar).Value = CustomerName
cmd.Parameters.Add("@RSMName", OdbcType.VarChar).Value = RSMName
cmd.Parameters.Add("@BranchNo", OdbcType.Int).Value = BranchNo
cmd.Parameters.Add("@Business", OdbcType.VarChar).Value = Business
cmd.Parameters.Add("@InputDate", OdbcType.Date).Value = InputDate
cmd.Parameters.Add("@Category", OdbcType.VarChar).Value = Category
cmd.Parameters.Add("@DeferralDetails", OdbcType.VarChar).Value = GetNull(DeferralDetails)
cmd.Parameters.Add("@DeferredDays", OdbcType.Int).Value = DeferredDays
cmd.Parameters.Add("@DefExpDate", OdbcType.Date).Value = DefExpDate
cmd.Parameters.Add("@DefDate", OdbcType.Date).Value = GetNull(DefDate)
cmd.Parameters.Add("@RMComments", OdbcType.VarChar).Value = GetNull(RMComments)
cmd.Parameters.Add("@CreatorId", OdbcType.VarChar).Value = GetNull(CreatorId)
cmd.Parameters.Add("@App_Authority", OdbcType.VarChar, 1200).Value = GetNull(App_Authority)
cmd.Parameters.Add("@Item", OdbcType.VarChar).Value = GetNull(Item)
Try
conn.Open()
cmd.ExecuteNonQuery()
Catch ex As Exception
logger.LogException("AddDisbursement", ex.ToString())
AddDisbursement = ex.Message
Finally
cmd.Dispose()
conn.Close()
End Try
'Return True
End Function
Now through javascript i allow user to input only 500 Characters(which works perfectly). Once the user submits data (say for example 400 characters) which is under the field "App_Authority" i get the following error:
ERROR [HY000] [INTERSOLV][ODBC SQL Server driver][SQL Server]ct_param(): user api layer: external error: A data length of 399 exceeds the maximum length allowed for CHAR data.
The same happens when i try to insert data into fields "RMComments" and "DeferralDetails"
Kindly advise me.
Thanks in Advance
|
|
|
|

|
I need to add hot keys to my ASP.net MVC3 application. please give me any ideas on the best way to implement this in MVC?
for eg:
go to home page of my application when Ctrl + Q is used
to log_out when Ctrl + K is used
|
|
|
|

|
i have two datatables dt1 and dt2.The first one has 3 columns and the second one has 1 column .i want to merge them together.As of now the join is happeneing top-down way,i want it sideways .
|
|
|
|

|
I have a web application. I want to know user doing in this?
And I can save it by session.
Can you tell your opinion?
|
|
|
|

|
How do I clear the server cache in asp.net? I have found out that there are two kinds of cache. There is the browser cache and the server cache. I have done some searching but I have yet to find a clear, step-by-step guide for clearing the server cache using asp.net (or not). I am working on an ASP.NET c# application that uses a 3rd party CMS. I have reason to believe that a bug I am having must have something to do with the cache on the server side. As an admin of the CMS, I have used some controls that individual users can see but they should not. The customer service has suggested I need to clear the server cache. I can remote to the server. Do I need to clear the cache from there? I did a search on google. So far, the only information I have is confirmation that there is such a thing as a cache on the server that differes from the client cache on the browser. The first results from Google are from wikipedia and instruct users of using a url addition to clear the cache on the server. I am not sure if that will work for what I need to do. I wish I could find some sort of ASP.NET C# sample code that will clear the server cache.
|
|
|
|

|
hi to all
how can i acceess 'i' in for loop
thanks in advance
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication2._Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form runat="server">
<div>
<asp:DropDownList ID="aspMySelect" runat="server" OnSelectedIndexChanged="aspMySelect_SelectedIndexChanged" AutoPostBack="True">
</asp:DropDownList>
<asp:TextBox ID="aspNewOption" runat="server"></asp:TextBox>
<asp:Button ID="Button1" OnClientClick="addAspPopUp()" runat="server" Text="Button" />
<script type="text/javascript">
function addAspPopUp() {
debugger
var optionText = document.getElementById('aspNewOption').value;
var textBox = document.getElementById('aspNewOption');
var objSelect = document.getElementById('aspMySelect');
listCount=<%=objListItems.Count%>;
for (var i=0;i<=listCount;i++)
{
objSelect[objSelect.length] = new Option('<%=objListItems[i]%>');
textBox.value = "";
}
}
</script>
<input type="button" id="btnRegister" onclick="ConvertDate()" value="test" />
<input type="button" id="Button2" onclick="addAspPopUp()" value="test2" />
</div>
<asp:Label ID="lbltest" runat="server"></asp:Label>
</form>
</body>
</html>
|
|
|
|

|
hi to all
i have a grid view with a drowpdownfield
i want to add diffrent item for each row to this drop down .
how can i do this
thanks for any help
|
|
|
|

|
Please help me to do this operations by using Asp.Net
1.Several screens (or one very functional one) to view the data in a variety of ways like by Phase, by ESXHost, by Application.
I think if we have several drop downs for filtering then that would work; so I can choose Phase 1, to show only the databases that will be migrated in Phase 1, then I can choose some other criteria and the screen shows a subset of data etc.
2. The Pre-requisites and Post-Migration checks should show whether the Phase or database migration is ready to start or is ok to complete.
|
|
|
|

|
Apologies in advance for the long post. I am getting the following error in my MVC app:
HTTP Error 404.15 - Not Found
The request filtering module is configured to deny a request where the query string is too long.
Here is my code:
public class MailHelper
{
public string To { get; set; }
public string From { get; set; }
public string Subject { get; set; }
public string Message { get; set; }
public string ImageUrl { get; set; }
public MaiHelper() {}
public bool IsValid()
{
return !(EmailDate == null) && !(string.IsNullOrEmpty(To)) &&
!(string.IsNullOrEmpty(From)) && !(string.IsNullOrEmpty(Subject)) &&
!(string.IsNullOrEmpty(Message)) && !(string.IsNullOrEmpty(BannerUrl));
}
}
public ActionResult Index()
{
MailHelper mH = New MailHelper();
mH.EmailDate = DateTime.UtcNow;
mh.From = "some@adress.com";
return View(mH);
}
I am using an external jQuery library ckeditor to get RTB functionality in my Razor page:.
/*Index.cshtml*/
@Model Controllers.MailHelper
@{
Layout = null;
}
...
@using (Html.BeginForm("Send", "Mail", FormMethod.Get))
{
@Html.AntiForgeryToken()
@Html.ValidationSummary(true)
<fieldset>
<legend>MailHelper</legend>
<table style="width: 700px;">
<tr>
<th>Date</th>
<td>@Html.EditorFor(model => model.EmailDate)
@Html.ValidationMessageFor(model => model.EmailDate)</td>
</tr>
<tr>
<th>To</th>
<td>@Html.EditorFor(model => model.To)
@Html.ValidationMessageFor(model => model.To)</td>
</tr>
<tr>
<th>From</th>
<td>@Html.EditorFor(model => model.From)
@Html.ValidationMessageFor(model => model.From)</td>
</tr>
<tr>
<th>Subject</th>
<td>@Html.EditorFor(model => model.Subject)
@Html.ValidationMessageFor(model => model.Subject)</td>
</tr>
<tr>
<th>To</th>
<td>@Html.TextAreaFor(model => model.Message, new { @class = "ckeditor", @id = "text-details" })
@Html.ValidationMessageFor(model => model.Message)</td>
</tr>
<tr>
<th>Banner Url</th>
<td>@Html.EditorFor(model => model.BannerUrl)
@Html.ValidationMessageFor(model => model.BannerUrl)</td>
</tr>
</table>
<p>
<input type="submit" value="Create" />
</p>
</fieldset>
}
...
It seem that if the Message is too long in the MailHelper.Message field, an error is thrown from my Send method:
[ValidateInput(false)]
public ActionResult Send(MailHelper mailHelper)
{
if (!mailHelper.IsValid())
{
return RedirectToAction("Index", "Mail", new { mH = mailHelper });
}
dynamic email = new Email("Example"); */Example.cshtml*/
email.To = "johnstonandy@rocketmail.com";
email.From = mailHelper.From;
email.Subject = mailHelper.Subject;
email.Message = mailHelper.Message;
email.Banner = mailHelper.BannerUrl;
email.Send();
return RedirectToAction("Sent");
}
I assume the error is caused because I am using the FormMethod.Get parameter. Can someone point this novice in the right direction?
I have looked at changing the requestFiltering/requestLimits in the config but to no avail.
Cheers
-- RESOLVED --
As I should have guessed (found out through more research), the solution was rather trivial:
0) Add HttpPost attribute to Send method.
1) Change formMethod to formMethod.Post in Index.cshtml.
I don't speak Idiot - please talk slowly and clearly
"I have sexdaily. I mean dyslexia. Fcuk!"
Driven to the arms of Heineken by the wife
modified 11 May '13 - 22:13.
|
|
|
|

|
which IDE software is suitable for ASP.NET?
am the beginner .i plan to learn about ASP.NET .But i dont know which one is good for my learn needs ?
i have
netbeans IDE
visual express 2010
visual studio 2005
sql server
can any one suggest me please ?
|
|
|
|

|
Hi!
I need to have multiple applications realized with VS2008 running on same Website
Applications are published on different subfolders
I don't need (if not necessary) to have webconfig on the root folder
i have different webconfig for each app stored in subfolder app
But when i try to run an apps i retrieve:
500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.
How can i solve this?
please Help!
|
|
|
|

|
Is there any possible to create blog in blogspot.com using c# code.
|
|
|
|

|
Hello All,
I created a new web site.
I need to get data from oracle. So, I installed the ODAC components.
To add a reference in my web site, I accidentially, added the dll reference from this location - C:\app\\product\11.2.0\client_1\odp.net\bin\4\Oracle.DataAccess.dll
I need to get this dll reference from C:\Windows\Microsoft.NET\assembly\GAC_64\Oracle.DataAccess\v4.0_4.112.3.0__89b483f429c47342\Oracle.DataAccess.dll
I keep adding this new reference but it is not adding this new reference as well. How can I change this?
Thank you!!!
|
|
|
|

|
Hi my name is Isaac,
How can I upload a video in sql server 2005 then play it in asp.net webpage.
And create a playlist on web page of all video that i upload in sql server so that a user can choose a video to play and see to many time a video was played.
I need your help please step by step
|
|
|
|

|
Hi All,
Is it possible to drag an object from the user's computer and drop it into a webpage using asp.net? I know dragging and dropping of objects into a windows app can be done but I've never seen it done in a web app. Please give an example of how this can be done or point me to a link that might help if you know of any. Thanks in advance for your reply.
|
|
|
|

|
Anyone tried the AddSite3 in SmarterStats web services?
it's asking for the LogLocations as ConfigLogLocation[] and I don't know how to pass it using C#.
This is what I am starting with:
AddSite3("statsadmin", "xxxxxxxxx", "usernameHmmm", "userPasswordHmmm", "userFirstName", "userLastName", "localhost", 0, "domainName", "W3Cex",
Technology News @ www.JassimRahma.com
|
|
|
|

|
Hello,
I downloaded and installed the ODAC for 64 bit machine. There were no issues installing, except that you have a to execute a sql file at the end of installation. It is located at
c:\app\\product\11.2.0\client\Asp.net\SQL - Where would I execute this? From DOS prompt?
I added the Oracle.DataAccess.dll to VS 2010. I keep getting this error -
Error 2 Could not load file or assembly 'Oracle.DataAccess, Version=4.112.3.0, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. The system cannot find the file specified. C:\projects\CSCC-DotNet\Web.config 14
any ideas? I did search the web, but with no luck.
Thanks!
|
|
|
|

|
I need to generate a PDF report which contains some images, costume text info, and a table from my ASP.net MVC3 application. please give me any ideas on the best way to implement this?
|
|
|
|

|
hi all ,
Tracing web application with ASP.NET[^]
Tracing Methods
•
On the Page
When this method is used, the trace output is displayed on the page that is executed.
•
Out of Page
In this method, the tracing results are not displayed on the page but these are stored on the web server and in the root folder of the application in a file named as “trace.axd”. After execution of the pages, this file can be viewed on the browser.
“trace.axd”.-----here what is the expansion of axd...
|
|
|
|

|
I have a problem with using grideview to display data
I don't want to use Default display in gridview.
For example
-------------------------
Image1 Title="###" |
Date="###" |
Price="###" |
-------------------------|
Please all friends help me to solve this in asp.net
Please kindly to email to me by polen.lang@gmail.com
|
|
|
|

|
Hi,
I want to ask what's the best way yo have a development environment and move it easily to the production?
Technology News @ www.JassimRahma.com
|
|
|
|

|
Hi,
I want to know how can I have a facebook-like alert to display (Email was sent) or (Record was saved) for a few seconds then disappear?
Technology News @ www.JassimRahma.com
|
|
|
|

|
We have back office application (developed using ASP.NET & SQL Server) and website for the same business (developed using PHP & My SQL).
Pl let me know how to link My SQL database with SQL Server.
Uma
|
|
|
|

|
Hello,
I do apologize if this is the incorrect forum to post.
I have a file which I need to post to a remote client server. I created a .p12 key file from the client web site. Using this .p12 ket file, password information I need to post a file to the server.
Using class, X509Certificate2 from namespace using System.Security.Cryptography.X509Certificates X509Certificate2.
I created a simple C# console application on my laptop using VS 2010, to define the parameters to the .p12 key file, and path to the csv file to post to remote server. I keep getting "Remote Server returned error - 401 UnAuthorized Error". Is there some sort of permission issue on .net end or the client side. The client keeps stating there is no communcation problem on their end.
I have been working on this code for some time now. any ideas is much, much appreciated.
|
|
|
|

|
We have tired of ton JS code in our applications, when errors could occurred in runtime (and specific browsers only).
So we decide to write something which allow to build rich client-side (single page as well) web applications on C# using our Incoding Meta Language.
It's simple - you define the tag behaviour on C# and then it parsed using our JS engine. Any js library could be plugged in, like we did for the Jquery UI (dialog, slider), Google Maps (show map, add/remove marker), BlockUI...
Even more, some our new developers even don't know the Javascript at all now
No trial, no donate. Just Open Source. We would like if someone would say "that's cool, i will try!" and give any feedback (critics are welcome).
I know some questions would be like "we need to learn this before start using, why do we need that if we already known js?".
- I would answer by asking another thing:
"What if your teammate (or another developer) leave some code for you and you need to understand what the hell this js construction is and first of all, where to find that event handler?"
With this approach, you just find the element on page and see what the behavior defined in C# well typed code.
You may kick me for the spam, but I just want to discuss:
1) If this type of approach could be alive or not?
2) What are your suggestions? Do you use something else to exclude such problems like we have had to write this?
P.S. We have all current projects using this. And there are server-side features as well.
|
|
|
|

|
How can i go about maintaining the state of an intranet application: Such that an authenticated user can process one or more sales in an instance?
On the otherhand is it possible to assign a Session object a value that is returned from a process after the Application had already started and running?
|
|
|
|

|
sir
i am an electrical engineer but interested in programming . i developed one v.net project for office and now wanna use send sms coding... the coding is as below but i am not getting message... please help... thanks in advance
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim SMSPort As SerialPort = New SerialPort
With SMSPort
.PortName = "COM7"
.BaudRate = 460800
.Parity = Parity.None
.DataBits = 8
.StopBits = StopBits.One
.Handshake = Handshake.RequestToSend
.DtrEnable = True
.RtsEnable = True
.NewLine = vbCrLf
End With
SMSPort.Open()
If SMSPort.IsOpen = True Then
SMSPort.WriteLine("AT" & vbCrLf)
'set command message format to text mode(1)
SMSPort.WriteLine("AT+CMGF=1" & vbCrLf)
'set service center address (which varies for service providers (idea, airtel))
SMSPort.WriteLine("AT+CSCA=""9848001104""" & vbCrLf)
' enter the mobile number whom you want to send the SMS
SMSPort.WriteLine("AT+CMGS= ""9494949494""" & vbCrLf)
SMSPort.WriteLine("aaaaat" & vbCrLf & Chr(26)) 'SMS sending
SMSPort.Close()
End If
End Sub
|
|
|
|

|
hi i am new to asp.net. So can anybody help me where to start with.thank you
|
|
|
|

|
I need to take the main parts of a C# 2008/2010 console application and turn it into a thin client for the web. The only things that need to be displayed on the screen is to enter the customer number and where to obtain a file in a directory path. The user will it the enter button and the application will pass the information to a web service.
Notes about the code that will be used: 1. the application uses linq to sql to point to a sql server 2008 r2 database.all parts of the exisitng code is placed together. there is no separation of data, presentation from business logic.
The simple application will not be part of any other web application.
Can you tell me the following:
1. How will the user start the application? Would it be a url on the web and/or a shortcut on their desktop? How would you setup the code for the user to click on a desktop short and/or point to a url?
2. When you start the code from scratch, what kind of a web application would I use? web forms since that is the easiest.
|
|
|
|
 |
|