|
I have developed an asp.net application and i used 'smo' objects to retrive metadata of a database in my application.....it's working fine when i run application... but after preparing setup file and deploying on local server its not retriving metadata......
Please help me to resolve this issue.....
Thanks in advance...
Vijay
|
|
|
|
|
1 - Urgent is not a valuable header
2 - you're not telling us what happens when your app tries to run on the server, what error messages do you get ? Any ? What is the code that fails to work ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
How do I put special chars like micro, copyright etc. and superscripts or subscripts
I have a textbox on a webform after submission, I save the text present on an XML file, I tried decoding each speciaal character to its number form like micro = µ and all but I cannot code characters everytime I enter text, and the <sup>....</sup> doesn't work
even if I copy from a word document, and paste, It doesn't work
How do I go about it?
_____________________________________________________
Yea! I could be wrong...
|
|
|
|
|
i remember ALT + 0169 is used to insert © symbol in a text box..and superscript follows from Alt+0178..and so on..but are you expecting the user to use ALT + 0169 each time to insert a © symbol????
.....
|
|
|
|
|
I tried that ,, it doesn't work!
_____________________________________________________
Yea! I could be wrong...
|
|
|
|
|
use numpad to enter the numerical, i have no idea why it behaves like that but it works for numpad
.....
|
|
|
|
|
|
I want progress bar with remaining time, how much % completed,how much file size in MB remaining while uploading file.
It should be editable(means I can alter in code as my requirement).
code should be free available.
I will appreciate.
I need hardly for that........
thanks
You get the best out of others when you give the best of yourself.
|
|
|
|
|
good luck. there are some commercial libraries, but nothing free that I know of.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Try this:
http://www.beansoftware.com/ASP.NET-Tutorials/ProgressBar-User-Control.aspx
http://www.aspnettutorials.com/tutorials/themes/progress-bar-csharp.aspx
|
|
|
|
|
please help me.
I want progress bar with remaining time, how much % completed,how much file size in MB remaining while uploading file.
It should be editable(means I can alter in code as my requirement).
code should be free available.
I will appreciate.
I need hardly for that........
thanks
You get the best out of others when you give the best of yourself.
|
|
|
|
|
hi I am using a File Upload Component to upload files to the site. The problem is that it doesn't alllow me to upload any media (sound or video). Do you have any suggestions what alternative controls to use and from where to get them please?
Thanks
|
|
|
|
|
The standard file upload control is the only way to upload files, all fancy controls use the same functionality.
You can upload any file type you like. Your control may offer config options to block some types, but the standard control uploads anything.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Have you checked that the media files are not too big, that could be why they are not uploading
|
|
|
|
|
If the files are too big add this in web.config file
<httpRuntime maxRequestLength="100000" executionTimeout="9000"/>
|
|
|
|
|
How to Send Notification to one page to different page without redirecting page
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
Are you saying you have two pages open at once and want to pass messages between them ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
yes one page load then it send Notification another to up grate Self
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
OK, so the second form is created as a child of the first ? Does the parent tell the child to update, or vice versa ? How is the second form launched ?
http://codepunk.hardwar.org.uk/bjs12.htm[^] is probably along the lines of what you need - you can't communicate on the server end, only on the client end.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
second Page already open some where
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
OK, then you can't do it. And, it has nothing to do with ASP.NET, and everything to do with HTML and javascript.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
public void PopulateGrid()
{
try
{
DataSet ds = FetchCyDetails();
if (ds.Tables["Cy"].Rows.Count == 0)
{
DataTable DummyTable = ds.Tables["Cy"].Copy();
DataRow dr = ds.Tables["Cy"].NewRow();
DummyTable.Rows.Add(dr.ItemArray);
Gridview1.DataSource = DummyTable;
Gridview1.DataBind();
Gridview1.Rows[0].Visible = false;
}
else
{
Gridview1.DataSource = ds.Tables["Cy"];
Gridview1.DataBind();
}
}
catch (Exception ex)
{
Response.Write(ex.Message.ToString());
}
}
public DataSet FetchCyDetails()
{
try
{
cmd = con.CreateCommand();
cmd.CommandType = CommandType.StoredProcedure;
cmd.Parameters.AddWithValue("@mode", 3);
DataSet dsCy = ExecuteQuery("sp", "Cy", false);
return dsCy;
}
catch (Exception ex)
{
Response.Write(ex.Message.ToString());
return null;
}
}
Regards
chandrasekar
kappsoft pvt ltd
|
|
|
|
|
This is, indeed, code. What does it do ? How does what it does differ from what you were hoping for ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
#clientside
function vaid()
{
var options = document.getElementById('CheckBoxList1').getElementsByTagName('input');
var ischecked=false;
var isval =0;
for(i=0;i<options.length;i++)>
{
var opt = options[i];
if(opt.type=="checkbox")
{
if(opt.checked)
{
isval++;
}
}
}
if(isval ==0)
{
prompt('Question','answer');
return;
}
}
</options.length;i++)>
#client side
#server side
int k = 0;
foreach (ListItem li in CheckBoxList1.Items)
{
if (li.Selected != true)
{
k++;
}
}
if (k == 0)
{
Response.Write("pls select");
}
#server side
Regards
chandrasekar
kappsoft pvt ltd
|
|
|
|
|
Hi,
The below code is working fine for writing as word document format, but i need to write the file as pdf format how can i acheive this one..any ideas?? im using vb.net 2.0.
Rgrds
Kanna.
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim dt As New DataTable
Dim datarow1 As DataRow
dt.Columns.Add("Trading Account")
dt.Columns.Add(" ")
dt.Columns.Add(" ")
datarow1 = dt.NewRow
datarow1(0) = "Hai"
datarow1(1) = "123"
datarow1(2) = " "
dt.Rows.Add(datarow1)
Dim datarow2 As DataRow
datarow2 = dt.NewRow
datarow1(0) = "Hai"
datarow1(1) = "123"
datarow2(2) = " "
dt.Rows.Add(datarow2)
DataGrid1.DataSource = dt
DataGrid1.DataBind()
Response.Clear()
Response.AddHeader("content-disposition", "attachment;filename=FileName.doc")
Response.Charset = ""
Response.Cache.SetCacheability(HttpCacheability.NoCache)
Response.ContentType = "application.doc"
Dim strw As New System.IO.StringWriter
Dim htmlw As New System.Web.UI.HtmlTextWriter(strw)
DataGrid1.RenderControl(htmlw)
Response.Write(strw)
Response.End()
End Sub
|
|
|
|