|
Use the W3C[^] standards while designing.
|
|
|
|
|
How to browse folder not file using vb.net?
|
|
|
|
|
You can't browse folder using ASP.NET.
|
|
|
|
|
JavaScript will help you if you gonna browse folder at client side
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
Hi There,
Is it possible to write a query on Datatable ?
|
|
|
|
|
|
Hi
I have a stored procedure that returns all the docs uploaded ordered by creation date. Now i want to change it like show a document with the id "1234" as always on top and the remaining results as today after to that document.
Does anyone have any one idea.
Any Help please......!
thanks#
|
|
|
|
|
What springs to mind....
The first thing I would look at is returning two result sets (presumably your first would have one row in it and your second would have many, excluding the unique row you've already selected, ordered by create date) from your store proc. Then using a ADO.Net DataReader I would merge the two result sets in code.
Here's some pseudo with some c#
using ( SqlDataReader reader = command.ExecuteReader( ) )
{
if ( reader.Read( ) )
{
}
reader.NextResult();
while ( reader.Read( ) )
{
}
}
This is still only one stored proc call; one trip across the wire (not that two trips in this case would make the slightest bit of difference).
Has this helped?
|
|
|
|
|
How to handle gridview delete/update and edit events in asp.net 2.0 with c# coding using SQL database.(let's say I'm using 'DD' database with 'CC' Table that I want to handle with 'xx' and 'zz' columns).
|
|
|
|
|
hello,
How can i assign a permission for a folder in order to prevent access to him from the address bar or by clicking on it or using the run command.
only this folder should be used by the aspnet client account.
best regards
dghdfghdfghdfghdgh
|
|
|
|
|
Good Day All
Am using a Infragistic Ultragrid Control and in the Control there is no event RowDataBound, So i decided to add it. I right Clicked on the Control and went to Properties and clicked at the lightning sign for events and double clicked "DataBound" event and next to it i started coding my event like this
protected void ultraGridCycles_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
DataRowView drv = (DataRowView)e.Row.DataItem;
if (Convert.ToString(drv["1"]) == "1")
{
e.Row.Font.Bold = true;
e.Row.ForeColor = System.Drawing.Color.Gold;
}
}
}
The Compiler did not complain. Now i want to use this event in the like in MS Gridview. How do i get that event to be Fired ?
Thank you
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
www.ITS.co.za
|
|
|
|
|
Vuyiswa Maseko wrote: Now i want to use this event in the like in MS Gridview
Not sure I got you. Can you explain in detail?
|
|
|
|
|
Am using a third party Grid Control by "Infragistics". So i want to use the event like i use the Microsoft's Gridview that we normally use in VS.
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
www.ITS.co.za
|
|
|
|
|
What are the needed languages should known to become good with the Asp Dot net?
Give me the neccessary ideas about it.please....
with regards
yr cheguevara
|
|
|
|
|
Hi yr cheguevara..
To have the ideas of to become good sound in asp.net to know the following languages
HTML
Javascript
SQLserver For database connection
ASP
|
|
|
|
|
Hi,
you have to good command on c# or Vb.net
|
|
|
|
|
Response.Clear()
Response.AddHeader("Content-Disposition", "attachment; filename=" xmlfile)
Response.AddHeader("Content-Length", file.Length.ToString()) Response.ContentType = "xml" ' "application/octet-stream"
Response.WriteFile(file.FullName)
Response.End()
using this code iam download an xml file then iam getting open save and cancel window when iam click on open then the download file is opening in the same page which makes my application is not visible. how to make download file to be open in the another window
|
|
|
|
|
Try to create a new page and add that code.
Redirect to that page, from a link that contains TARGET="_blank" , or use javascript, window.open() to show that page.
Calin
|
|
|
|
|
Hello,
How to redirec From Https to Http page in same Web Application
In Asp.net 2.0
Ravindra Jain
|
|
|
|
|
Hello Everybody
in my page i need to read file (.doc,.txt,.rtf) and find out mobile numbers to which i am to send sms
its working fine on localhost but onupload on ftp its giving following error..
Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80040154.
Thanks
|
|
|
|
|
You haven't provided enough details to answer this question. Please explain clearly what you are trying to do.
|
|
|
|
|
thanks for reply..
there is an excel file (can be .txt,.rtf,.doc) containing mobile number with some text
now the problem is that i successfully retrieve the numbers while running project on localhost but
when i upload the compiled code on ftp then on reading that file its giving the following error.
Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80040154.
|
|
|
|
|
You have to either have Excel installed on the server, or a free package Microsoft has that let's a server access the DLLs required. Can't remember what it's called, but it should give ya some Google key words.
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
|
|
|
|
|
if it is so then why its giving same error with .txt file?
|
|
|
|
|
am resizing the uploaded image and also adding the watermark, that code as follows, but now am saving the image into local path, i want to save this image into sql server database. how can i do that. can i get some source code for that.
int thumbWidth = 0;
System.Drawing.Image image = System.Drawing.Image.FromFile(cmdBrowse.PostedFile.FileName);
if (image.Width > 500)
{
thumbWidth = 500;
}
else
{
thumbWidth = image.Width;
}
int srcWidth = image.Width;
int srcHeight = image.Height;
Decimal sizeRatio = ((Decimal)srcHeight / srcWidth);
int thumbHeight = Decimal.ToInt32(sizeRatio * thumbWidth);
Bitmap bmp = new Bitmap(thumbWidth, thumbHeight);
System.Drawing.Graphics gr = System.Drawing.Graphics.FromImage(bmp);
gr.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality;
gr.CompositingQuality = System.Drawing.Drawing2D.CompositingQuality.HighQuality;
gr.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.High;
System.Drawing.Rectangle rectDestination = new System.Drawing.Rectangle(0, 0, thumbWidth, thumbHeight);
gr.DrawImage(image, rectDestination, 0, 0, srcWidth, srcHeight, GraphicsUnit.Pixel);
Font font = new Font("Verdana", 14, FontStyle.Bold, GraphicsUnit.Pixel);
Color color = Color.FromArgb(100, 0, 0, 0);
Point pt = new Point(2, 3);
SolidBrush sbrush = new SolidBrush(color);
gr.DrawString("www.Test.com", font, sbrush, pt);
bmp.Save("E:/Images/Test.bmp");
bmp.Dispose();
image.Dispose();
|
|
|
|