|
Good Day All
i have a machine that i use as a server, the machine is running Windows 7 and IIS 7. I am using Windows Xp and my browswe is IE8.
In my application i use Infragistics menu controls. The menu freezes, and they dont respond or calloapse. I have tried the Compatibility mode but it still does that.
Thanks
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
Good Day All
I have found the Problem was not on Infragistics. I think someone who does the same as i do will have this problem. To Resolve the Problem i went to the IIS Manager -->Collapse the the tree and select the Application Pools-->In the Managed Pipeline Mode, it was Integrated, i changed it to Classic and it worked.
Thanks
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
hello my dear...
i have a doubt that in web.config file we can give database connection in
<appsettings> and also give in
<connectionstring>
what is the difference between both of them
please clarify my doubt
thanking you
yours
somasekhar
j somasekhar
modified on Friday, June 4, 2010 7:49 AM
|
|
|
|
|
There is no doubt, you can use either appSettings or connectionStrings. ConnectionStrings has built in support in the ConfigurationManager class where as using the appSettings you have to do yourself. Also, connectionSettings is where other components will look by default for connection information.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
thank you my dear
j somasekhar
|
|
|
|
|
Hi,
I have excel files where the teachers include student marks.
Excel files have these columns:
Id_Student ____libelle_matter1____libelle_matter2
how to import these files to table review(Id_Student,id_matter,marks)
I have the table matter: (id_matter, libelle_matter,coeff)??
Thanks.
|
|
|
|
|
|
Hi,thanks walterhevedeich
I want the teacher clicks on a button to send the files ,import/export wizard is manually, right?
|
|
|
|
|
Here is the C#.NET code...
// Connection String to Excel Workbook
string excelConnectionString = @"Provider=Microsoft .Jet.OLEDB.4.0;Data Source=Book1.xls;Extended Properties=""Excel 8.0;HDR=YES;""";
// Create Connection to Excel Workbook
using (OleDbConnection connection = new OleDbConnection(excelConnectionString))
{
OleDbCommand command = new OleDbCommand ("Select ID,Data FROM [Data$]", connection);
connection.Open();
// Create DbDataReader to Data Worksheet
using (DbDataReader dr = command.ExecuteReader())
{
// SQL Server Connection String
string sqlConnectionString = "Data Source=.; Initial Catalog=Test;Integrated Security=True";
// Bulk Copy to SQL Server
using (SqlBulkCopy bulkCopy = new SqlBulkCopy(sqlConnectionString))
{
bulkCopy.DestinationTableName = "ExcelData";
bulkCopy.WriteToServer(dr);
}
}
}
|
|
|
|
|
Hy,
I have a requirement in which i have to show multiple files in a single iframe at one go so dat i can print them at a single click without having to open print dialog multiple times.The file type can be .pdf,.xls,.txt ets.
Please help
|
|
|
|
|
I have a gridview in my form which I am populating data using SqlDataSource. The gridveiw has insert, update and delete. But somehow I forgot to write the RowEditingEvent.
Upon my surpise, when I clicked on Edit button in the grid while executing, the row automatically become editable. Obviously, I have declared the columns with EditItemTemplate.
Is the RowEditing Event not required when I use ObjectDataSource or SqlDataSource? I couldn't find such event in the msdn example also MSDN Link
Thanks
meeram395.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
|
Hello team,
I am in a very critical situation, wherein I will have to take an important decision. I have some existing C programs. Those C programs takes input from .DBF (dBase III) files and .BTR (BTRIEVE) files.
I have been given 2 options:
1) Convert .DBF files to .BTR files and .BTR files to .DBF files. These convertion can be done using .NET. If yes, give me some code snippets or some links where I can get the code.
2) Or using .NET is there any other way to replace this BTRIEVE concept itself? In other ways, instead of BTRIEVE, can we go for some other technology?
Pls advise....
|
|
|
|
|
Is there anyone who can respond to my query. This is bit urgent...Pls help me out...
|
|
|
|
|
currently i m using asp.net 2005 with c# (framework 2.0). i want to restrict the user to click the save button twice or more than that. Using ajax, i implemented it
<ajaxToolkit:AnimationExtender ID="Anibtnsave" runat="server" TargetControlID="btnsave">
<Animations>
<OnClick>
<EnableAction Enabled="false" /></OnClick>
</Animations>
</ajaxToolkit:AnimationExtender>
the above block will disable the button. its working fine. but i used few validation controls (ajaxToolkit:ValidatorCalloutExtender).
when i click the button the validation pop-ups and also button getting disable. please help me. - KARAN
|
|
|
|
|
Try this:
private void checkButtonDoubleClick(Button button)
{
System.Text.StringBuilder sbValid = new System.Text.StringBuilder();
sbValid.Append("if (typeof(Page_ClientValidate) == 'function') { ");
sbValid.Append("if (Page_ClientValidate() == false) { return false; }} ");
sbValid.Append("this.value = 'Please wait...';");
sbValid.Append("this.disabled = true;");
sbValid.Append(this.Page.ClientScript.GetPostBackEventReference(button, ""));
sbValid.Append(";");
button.Attributes.Add("onclick", sbValid.ToString());
}
Copied from here
http://forums.asp.net/t/1362149.aspx[^]
|
|
|
|
|
Nice ideas in this thread. I like.
|
|
|
|
|
great arun. thanks a lot.
also the same i would like to apply for an dropdownlist. because according to the selection of dropdown value, i m changing the button textvalue. according to the text value i m calling different functions.so when user select the dropdownlist item, it take some time. during that time, user should not click the button obviously.
so i want to disable the button while user selecting item from dropdownlist until the text changes.
how to achieve it? help me - KARAN
|
|
|
|
|
Dear Tech Guys,
I want to know ,how to develop messenger with Video chat like Yahoo messenger.
Please provide reference articles.
Thanks
Srinivas
|
|
|
|
|
You look like too lazy to even Google it out. I am sure there would be no point asking what have you tried till now.
Go here:
http://www.google.com
http://www.codeproject.com
Use keywords like - chat, messenger, etc. You will get lots of articles.
|
|
|
|
|
(sigh) People these days are used to spoonfeeding. Help yourself buddy. research first on what you want to do and then based on your researches, ask questions. It would be an interesting discussion if it was done that way.
|
|
|
|
|
Hi All,
i want to integrate google calender api in .net how to do this.please help me to do this?
Thanks ,
Amit Patel
|
|
|
|
|
|
|
Following is my code for login:
void Page_Load(object sender, EventArgs e) {
string appURL = "http://www.mysite.com/Login.aspx";
string strPostData = String.Format("login={0}&password={1}",
"myloginname", "mypassword");
// Setup the http request.
HttpWebRequest wrWebRequest = WebRequest.Create(appURL) as
HttpWebRequest;
wrWebRequest.Method = "POST";
wrWebRequest.ContentLength = strPostData.Length;
wrWebRequest.ContentType = "application/x-www-form-urlencoded";
wrWebRequest.CookieContainer = new CookieContainer();
// Post to the login form.
StreamWriter swRequestWriter = new
StreamWriter(wrWebRequest.GetRequestStream());
swRequestWriter.Write(strPostData);
swRequestWriter.Close();
// Get the response.
HttpWebResponse hwrWebResponse =
(HttpWebResponse)wrWebRequest.GetResponse();
// Have some cookies.
CookieCollection ccCookies = hwrWebResponse.Cookies;
// Read the response
StreamReader srResponseReader = new
StreamReader(hwrWebResponse.GetResponseStream());
string strResponseData = srResponseReader.ReadToEnd();
srResponseReader.Close();
// Display the response.
Response.Write(strResponseData);
}
It logs me in successfully but when I click on any link, it logs out.
Please let me know what's going wrong.
|
|
|
|