|
Since u r a biggener, don't fly so high just make an simple start and think about such terms when u get some experience. i doesn't demotivate u but it is just an suggetion for u .
Thx
manoj Kumar Jha
"Learn to smile at every situation. See it as an opportunity to prove your strength and ability."
|
|
|
|
|
Stop using text speak. Please read the forum guidelines.
|
|
|
|
|
Sorry, it never happens in future.
manoj Kumar Jha
"Learn to smile at every situation. See it as an opportunity to prove your strength and ability."
|
|
|
|
|
hello every body
<br />
' Fill ddlMemberGroup<br />
Private Sub ddlMemberGroupFill()<br />
<br />
If Not Page.IsPostBack Then<br />
Dim conn As SqlConnection = New SqlConnection(Web.Configuration.WebConfigurationManager.ConnectionStrings("TCCLMS").ConnectionString)<br />
Dim queryString As String = "SELECT GROUPID, GROUPNAME FROM MEMBERGROUP ORDER BY GROUPNAME ASC"<br />
Try<br />
conn.Open()<br />
Dim comm As SqlCommand = New SqlCommand(queryString, conn)<br />
' Dim dataReader As SqlDataReader = comm.ExecuteReader()<br />
Dim adapter As SqlDataAdapter = New SqlDataAdapter(comm)<br />
Dim ds As DataSet = New DataSet()<br />
ds.Clear()<br />
adapter.Fill(ds)<br />
<br />
ddlMemberGroup.DataSource = ds<br />
ddlMemberGroup.DataTextField = "GroupName"<br />
ddlMemberGroup.DataValueField = "GroupID"<br />
ddlMemberGroup.DataBind()<br />
ddlMemberGroup.Items.Insert(0, New ListItem("Select One...", "Value"))<br />
conn.Close()<br />
Catch ex As Exception<br />
<br />
conn.Close()<br />
End Try<br />
<br />
End If<br />
<br />
End Sub<br />
Compare Validator aspx code
<br />
<asp:CompareValidator ID="cvddlMemberGroup" runat="server" ControlToValidate="ddlMemberGroup"<br />
ErrorMessage="Please select a Member Type" Operator="NotEqual" ValueToCompare="Select One..."></asp:CompareValidator><br />
If I dont select a member type then im not getting error.
N.B.
if i fill up my ddlMemberGroup like below then it does work
<br />
<asp:DropDownList id="ddlMemberGroup" runat="server" AutoPostBack="True"><br />
<asp:ListItem>Select One..</asp:ListItem><br />
<asp:ListItem>one</asp:ListItem><br />
<asp:ListItem>two</asp:ListItem><br />
<asp:ListItem>three</asp:ListItem><br />
<asp:ListItem>four</asp:ListItem><br />
<asp:ListItem></asp:ListItem><br />
</asp:DropDownList><br />
I need to fill up ddlMemberType from Database
Thanks in Advace
Sarfarj Ahmed
|
|
|
|
|
hi
ddl items starts with 0
so, try with -1
siri
|
|
|
|
|
if i put -1 then Select One... doesn't show on ddlMemberType
Sarfarj Ahmed
|
|
|
|
|
I have table and width is 100%. It contains three td‘s. first td width is 250px, second td width is 10px, 3rd td width is 100%.I want to display the results from database to 3rd td.
The results are displaying fine for small database tables (contain less than 10 columns).
If the columns are more than 10 td width is going out of window size. For that I placed scroll bars for td .which is not working.
Is any one having idea about it?
kamalnath
|
|
|
|
|
What code you have done for that we can tell blankly without seeing the code.
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
Put the table within a DIV and try from there.
|
|
|
|
|
can anyone tell me the c# code to print the crystal report.
pintoo
|
|
|
|
|
Get it
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
IS this report shown on a ASP.NET page ? If yes use Window.Print() , it's a JS function which prints current page.
|
|
|
|
|
I think is what you are after: using a crystalreports ReportDocument within a form
<br />
<br />
rptPolicy.PrintOptions.PrinterName = System.Configuration.ConfigurationSettings.AppSettings("printer")<br />
<br />
ReportDocument.PrintToPrinter(1, False, 0, 0);<br />
<br />
<br />
|
|
|
|
|
Hi Everyone,
Can anyone help me out to display a table in the body content using mailto function
Regards,
Manowj
|
|
|
|
|
manowj wrote: mailto function
What is this function ? I have never heard this. To display HTML content on mail body, you should set mail's body type to HTML.
|
|
|
|
|
Hi,
In html we can use this function for example copy this and save it in a html file
<I><A HREF="mailto:someone%20at%20Example.com%3CSomeone@example.com%3E?subject=Comments%20on%20example.htm%20&body=comments%20concerning%20your%20webpage%0D%0A%20at%20http://www.example.com/example.htm%20%0D%0A%0D%0AHi%20David,%0D%0A">send email comments</a></i>
open it in the explorer.
Regards,
Manowj
|
|
|
|
|
I would suggest you to use the Mail class in ASP.NET and then try to add the table through it.
Best Regards,
Sam Xavier
www.componentone.com
|
|
|
|
|
I need to upgrade an app to allow users to export data to Excel (currently it allows for .csv). Does anybody know of a component that can be used for this ( I'd rather not automate Excel if I don't have to ) ?
Johan Lombaard
Only two things are infinite, the universe and human stupidity, and I'm not sure about the former - Albert Einstein
|
|
|
|
|
Do a search on Google or this site for 'JET OLEDB Excel' and you'll find plenty of results relating to your question.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Response.ContentType = "application/ms-excel";<br />
Response.AppendHeader("Content-Disposition", "attachment; filename="+fileName+".xls");<br />
Response.End();
|
|
|
|
|
I want to develop an application which can be used by all users in a network. Can somebody help me by explaining how we can do that. Thanks in advance
Regards
|
|
|
|
|
Please be a bit more specific about what you are trying to accomplish.
"I've seen more information on a frickin' sticky note!" - Dave Kreskowiak
|
|
|
|
|
hello,
I want to develop an application suppose for example i.e for their audit process. So i have make that application used by all the members in the local network. How i can do that. I am new to .net. so only i ask.
Regards
|
|
|
|
|
I want to develop an application which can be used by all users in a network. Can somebody help me by explaining how we can do that. Thanks in advance
Regards
|
|
|
|
|
GaneshKumarVkm wrote: I want to develop an application which can be used by all users in a network
All ASP.NET applications works on this way.
|
|
|
|