hi all,
My problem is solved thanks for ur reply...The information provide by you is usefull to me.... Thanks a Lot
User Profile
Collapse
Profile Sidebar
Collapse
vinod allapu
Last Activity: Feb 7 '11, 06:49 PM
Joined: Apr 2 '09
Location: Vizag,India
-
sending mail to multiple users
hi all,
I have a string str which contains email addresses seperated with ';' like vinodkumar.alla pu@gmail.com;vi no...@hotma il.com to whom i want to send mails with same body... when iam saying
mail.To.Add(str );
its displaying a message saying: The specified string is not in the form required for an e-mail address... can any one solve... -
Passing Gridview object from one page to another
hi all,
I have grid view in a page which is binded to a datasourse and it also contails itemtemplate fields with textboxes... now my requirement is i want to display this gridview in another page...
iam able to display the gridview in another page if gridview contains no cotrols(itemFie lds). by putting datatable in session and using in another page.... but how to do it if the grid view contains controls(itemFi elds)...... -
move Listbox items to another listbox without button click
hi all,
i am trying to generate a report, iam using sql server 2000 and Asp.net 2.0. First to select the columns iam using the list box... as we can order by the query result from the selected columns only, i want to use another list box which contains only selected columns..
1. Iam filling the columns names required into the listbox it is selecting the columns in the select statement to generate report.... -
Crystal Report Load Report Failed
hi,
In my project im using crystal report. I could able to run with no error in my PC. but after hosting my .rpt file and report.aspx file which has CR:CrystalRepor tViewer linked to .rpt file in my website and running the report.aspx file im getting an error Load Report Failed.... Thanks in advance for any insight as to where I'm going wrong.
Regard
vinod -
problem with style sheets
Hi boss,
I am adding style sheets in my project . I have created a style for labels.
I linked it to my web page and used. Now the problem is for the first page load , my style sheet attributes are applying. If i select some option in the page and submit , the styles of labels are changing....
Can anybody help me in solving this problem. Style i used for labels is
...Code:.labelStyle
Last edited by Frinavale; May 13 '09, 01:15 PM. Reason: Added code tags. Please post code in [code] [/code] tags. -
hi boss thanks for reply,
actually i have a page for entering book details and in that page i have addnewauthor button (option for user to add a new author if Author not exists in the dropdown list). soon user press addnewAuthor button it pop ups the authorpage to enter author details. soon he insert the author details the author name will be displayed in dropdown list of books page.
...Leave a comment:
-
determine whether current page is opend from window.open function
hi all,
I have a aspx page which can be opened directly or it can be opened from other aspx page using javascript window.open .... now i need to check whether it is open from a parent page or directly
can any one please help me
thanks -
Hi boss ,
Many thanks for your answer......For better understanding of my actual requirement please see the image.
The datatable is bound to grid according to user selected columns, if the user wants to add some more columns to grid (not to datatable) then he enters "number of columns" to add to grid then btnOk_click.
...Code:for (int i = 1; i <= cols; i++) {Last edited by Frinavale; May 6 '09, 01:14 PM. Reason: Added code tags. Please post code in [code] [/code] tags.Leave a comment:
-
problem in getting textbox id.
Hi boss,
In my page i am generating some text boxes dynamically on Button_click like this...
...Code:for (int i = 1; i <= cols; i++) { HtmlTableRow objRow = new HtmlTableRow(); HtmlTableCell objCell = new HtmlTableCell(); objCell.InnerHtml = "<td>ColumnName</td>" + "<td><input id=\"txtColumnName"+i+"\"Last edited by Frinavale; May 5 '09, 02:42 PM. Reason: Added code tags. Please post code in [code] [/code] tags. -
Hi boss ,
I tried like this, it worked for me.......
...Code:TemplateField objTf = new TemplateField(); //objTf.HeaderTemplate = new Gridviewtemplate(); objTf.HeaderText ="column name"; objTf.ItemTemplate = new Gridviewtemplate(); GridView1.Columns.Add(objTf); GridView1.DataSource = objDt;Last edited by Frinavale; May 5 '09, 02:17 PM. Reason: Added code tags. Please post code in [code] [/code] tags.Leave a comment:
-
generating gridview columns dynamically
Hi boss,
I have a gridview, bound to a datasource . Here i want to add columns dynamically containing empty textboxes. Number of columns are variant .
The added columns are not bound to datasource they are added just for dislay.
The user fills the data in columns(textbox es) and saves the grid as excel.
Can anybody give an idea about adding columns, if possible figureout the sample code.
... -
Hi boss,
Thats great I was missing alias .
many thanks for your reply boss.Leave a comment:
-
Hello boss,
Many thanks for your valuable reply...I have the question of operating many users at atime and fight for connection, but my particular application is specific to a single user single institute.
If not users may increase by 5 to 8 at a time. The reason why i want to maintain a continuous connection is my pages have many controls and bulk transactions on databases...
Now keeping...Leave a comment:
-
using isnull in query is not detecting column names
Hi all ,
I am using sql2000 in my project. I have a sql query like this
"select tblstudents.stu dentname, isnull( tblpayments.Fee , 0 ) from tblstudents,tbl payments where ............... "
In my .cs file i want to print response
response.write( dt.rows[0]["Fee"].tostring());
but it is showing error :: Column 'Fee' does not belong to table .
... -
Hi boss,
One instance for entire application is good. Where do i declare the connection string. I'm using connection string in web.config. But in each page i need to write
private string con = ConfigurationMa nager.Connectio nStrings["Connection "].ConnectionStri ng;
and then when connection required i am writing
sqlconnection objcon=new sqlconnection(c on);...Leave a comment:
-
storing connection object in session variable
Hi all,
I have some webpages in my project, each web page contains same connection object more than one time .
I want to store a single connection object in a session variable and use it .
Is it possible and efficient to do like this ? Can anybody suggest a best way to do like this.
Many thanks to you.... -
problem in displaying datatablein mobileform
Hi all,
I am working with mobileforms. The problem is after having the datatable in hand how can i display on mobile form. I tried with data gridview but it is not available in mobile parts. I tried with objectlist but it did not do my job..
...Code:protected void btnOk_Click(object sender, EventArgs e) { ActiveForm = Form2; } protected void Form2_Activate(object sender, EventArgs e)Last edited by Frinavale; Apr 17 '09, 06:30 PM. Reason: Added code tags. Please post code in [code] [/code] tags. -
Hi boss,
You did not get my actual problem.
I am getting that date from the database and filling in data table.
That data table is stored in session variable.
In the redirected page in page_load i need to trim date,month and year and I need to use like this
ddlDay.Value = trimmed day
ddlMonth.Value = trimmed Month
ddlYear.Value...Leave a comment:
-
trimming date
Hi all
I have a string like this "2/6/1986" which is a date..Remember that it is a date actually..so day size and month size are variant..It is not always single digit or single character...
I want "1986","6", "2" individually...
Can anybody provide trimming code to do this ..
Thankful to you all,
No activity results to display
Show More
Leave a comment: