Search Results

Showing results 1 to 25 of 25
Search took 0.01 seconds.
Search: Posts Made By: Aneesh_Argent ; Forum: ASP.NET and child forums
Forum: ASP.NET Mar 19th, 2009
Replies: 3
Solved: upload image
Views: 1,097
Posted By Aneesh_Argent
Try this:


protected void Button1_Click(object sender, EventArgs e)
{
if(FileUpload1.HasFile)
{
string fileName = FileUpload1.FileName;
string...
Forum: ASP.NET Mar 16th, 2009
Replies: 2
Solved: table problem
Views: 426
Posted By Aneesh_Argent
<table style="text-align:center">
This is to align the content/data inside the table
One way to achieve your requirement is to put your table inside a div and align the div to center. Here is a...
Forum: ASP.NET Feb 24th, 2009
Replies: 2
Views: 506
Posted By Aneesh_Argent
Try this:

if (FileUploadControl1.HasFile)
{
//upload a file
}
else
{
lblResult.Text = "Please select a file first";
}
Forum: ASP.NET Feb 19th, 2009
Replies: 15
Views: 3,785
Posted By Aneesh_Argent
Select the function name "MsgBox", right click and from the menu select Go to Defenition and post the fuction defenition here. I suppose its a user defined function
Forum: ASP.NET Feb 19th, 2009
Replies: 15
Views: 3,785
Posted By Aneesh_Argent
MessageBox is only available in Window Applicaitons. In ASP.NET, you cannot use the MessageBox class or MsgBox function like you can in a Window Applicaitons, but you can emulate this functionality...
Forum: ASP.NET Feb 19th, 2009
Replies: 2
Solved: dropdownlist
Views: 1,090
Posted By Aneesh_Argent
As your error message suggests, you cannot have multiple items selected on a Dropdownlist. You can set only one ListItem's Selected property to true, which will be the default selected Item of your...
Forum: ASP.NET Feb 17th, 2009
Replies: 3
Views: 557
Posted By Aneesh_Argent
I dont think there is a built in method to get selected ItemsCollection only. Even if there is one, the algorithm would be the same as yours. So it wont solve the performance issue. One way to do...
Forum: ASP.NET Feb 6th, 2009
Replies: 10
Views: 1,305
Posted By Aneesh_Argent
da.Update(ds, "mytable");

Here "mytable" should be replace by your tablename. I have given it just as an example. Since your Dataset contains only one table you can use this instead.
...
Forum: ASP.NET Feb 6th, 2009
Replies: 10
Views: 1,305
Posted By Aneesh_Argent
Try this:
SqlDataAdapter da = new SqlDataAdapter("select * from mytable",strCon);
SqlCommandBuilder m_cd = new SqlCommandBuilder(da);
da.MissingSchemaAction = MissingSchemaAction.AddWithKey;

...
Forum: ASP.NET Feb 6th, 2009
Replies: 10
Views: 1,305
Posted By Aneesh_Argent
Can u post your full code here.
Forum: ASP.NET Feb 6th, 2009
Replies: 10
Views: 1,305
Posted By Aneesh_Argent
Try using the SqlCommandBuilder Class like this



SqlCommandBuilder mySqlCommandBuilder = new SqlCommandBuilder(mySqlDataAdapter);

mySqlDataAdapter.Update(myDataSet, "myTableName");
Forum: ASP.NET Jan 30th, 2009
Replies: 6
Views: 1,336
Posted By Aneesh_Argent
Can you post the entire button click event here. And when do u get the Item Saved alert, b4 or after confirmation message?
Forum: ASP.NET Jan 30th, 2009
Replies: 6
Views: 1,336
Posted By Aneesh_Argent
I cant see anything on this code snippet. May be your custom control MsgBox1 is corrupt. Can u please remove the statement

MsgBox1.alert("ItemSaved");

from the code and replace it with this.
...
Forum: ASP.NET Jan 30th, 2009
Replies: 6
Views: 1,336
Posted By Aneesh_Argent
Could you please post your Image button source code in .aspx file.
There might be a javascript function which contains a window.close(); statement that is being called on 'OnClientClick' of the...
Forum: ASP.NET Jan 30th, 2009
Replies: 2
Views: 437
Posted By Aneesh_Argent
Captcha Image(image with moving or tilted characters) Verification is a method of preventing automated bots (or Scripts) from gaining aaccess to web page features, tyically submission forms. An...
Forum: ASP.NET Jan 22nd, 2009
Replies: 2
Views: 344
Posted By Aneesh_Argent
In C#, for selecting a single cell content from a dataset use:
ds.Tables[tableIndex].Rows[rowIndex][columnIndex].ToString();
So ds.Tables(0).Rows(0).item(0) in vb becomes...
Forum: ASP.NET Jan 21st, 2009
Replies: 3
Views: 3,698
Posted By Aneesh_Argent
"INSERT INTO desg VALUES(" + txtsno.Text + ", " + txtdesg.Text +", " + txtbasic.Text + ");";

You dont need to worry about Trim and Val functions here. Trim will happen automatically and Val is...
Forum: ASP.NET Jan 21st, 2009
Replies: 5
Views: 3,734
Posted By Aneesh_Argent
Remove the if(!Page.IspostBack) form your code which is preventing your dynamic control from recreating during postback. Let the control be created on every subsequent pageload(or postback).
Forum: ASP.NET Jan 21st, 2009
Replies: 5
Views: 3,734
Posted By Aneesh_Argent
On page load do this


//Creating Dynamic Image Button
ImageButton objImageButton = new ImageButton();
objImageButton.ID="dynImageButton";
...
Forum: ASP.NET Jan 20th, 2009
Replies: 3
Solved: C#
Views: 404
Posted By Aneesh_Argent
Select the control in design view and from the right click menu select Properties. Now on the properties window click on the events icon on its the top. All valid event will be listed there. Double...
Forum: ASP.NET Jan 20th, 2009
Replies: 3
Views: 782
Posted By Aneesh_Argent
Is this what you are looking for



Function getTheData() As DataTable
Dim DS As New DataSet()
Dim strConnect As New SQLConnection ("Server=credentials")
Dim nutType As String
...
Forum: ASP.NET Dec 24th, 2008
Replies: 12
Views: 1,701
Posted By Aneesh_Argent
try this link
http://www.javascriptkit.com/script/script2/curdateform2.shtml
Forum: ASP.NET Dec 24th, 2008
Replies: 20
Views: 16,539
Posted By Aneesh_Argent
http://www.experts-exchange.com



Happy Programming :)
Forum: ASP.NET Dec 17th, 2008
Replies: 20
Views: 16,539
Posted By Aneesh_Argent
Can u please tell me ur project duration, ur team size any and other priorities that u are looking in a project. Here are some more topics for you:
01. E-learning system.
02. Online hotel and Car...
Forum: ASP.NET Dec 17th, 2008
Replies: 20
Views: 16,539
Posted By Aneesh_Argent
01. Project Management system project4hire.com
02. Online Auctioning system like eBay.com
03. Matrimonial systems like m4marry.com
04. Social networking site like orkut.com

If u dont like any...
Showing results 1 to 25 of 25

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC