|
It seems you need to read a REALLY basic book. You add a reference to a dll to your project.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
In .net u can see the option Project in menu....in that u just need to do add Reference.....
project -> Add reference
ok....
|
|
|
|
|
how to convert the below coding into vbasp.net code?
TextBox eno=(TextBox)e.Item.FindControl("TextBox1");
|
|
|
|
|
There are online converters you could use. I don't know how to do the cast, but I'd expect the rest to work just by dropping the semicolon. If you read the MSDN on the FindControl method, that would probably have examples in VB.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Dim eno As TextBox = CType(e.Item.FindControl("TextBox1"), TextBox)
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
|
i want to enter data using a textbox in gridview. data is successfully enter into database but gridview not show data. when i close the webpage and reopen it then girdview show the data
|
|
|
|
|
When you update data in DB then use DataBind() of GridView.
i.e GridView1.DataBind();
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
i simply edit it but i want to auto update gridview. as i click submit button it show that data in gridview
|
|
|
|
|
Your problem is solved or not?
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
|
Without see your code,we can't provide solution.
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
i have a text box, submit button and a gridview in a same page. by using textboxes i want to enter data in gridview. when i enter data using text box and clik on submit button is show successful entry of data. but girdview is not show the new data which i have entered by textbox. when i close that page and reopen it thn it shows the data which i have entered
|
|
|
|
|
Ok,when you submit that data from textboxes then do you call DataBind method of GridView?
This I asked you in my first reply to your question.
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
i use wizard not a bind method.
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
CellPadding="4" DataKeyNames="TransactionTypeID" DataSourceID="SqlDataSource2"
ForeColor="#333333" GridLines="None"
style="top: 492px; left: 323px; position: absolute; height: 133px; width: 407px" AlternatingRowStyle-HorizontalAlign="NotSet">
<FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
<RowStyle BackColor="#E3EAEB" />
<Columns>
<asp:BoundField DataField="TransactionTypeID" HeaderText="Type ID"
InsertVisible="False" ReadOnly="True" SortExpression="TransactionTypeID" />
<asp:BoundField DataField="Transaction" HeaderText="Transaction"
SortExpression="Transaction" />
<asp:BoundField DataField="Description" HeaderText="Description"
SortExpression="Description" />
<asp:BoundField DataField="Category" HeaderText="Category"
SortExpression="Category" />
<asp:BoundField DataField="Active" HeaderText="Active"
SortExpression="Active" />
<asp:CommandField HeaderText="Edit" ShowEditButton="True" />
</Columns>
<PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
<HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
<EditRowStyle BackColor="#7C6F57" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource2" runat="server"
ConflictDetection="CompareAllValues"
ConnectionString="<%$ ConnectionStrings:Coupon ManagementConnectionString15 %>"
DeleteCommand="DELETE FROM [TransactionType] WHERE [TransactionTypeID] = @original_TransactionTypeID AND [Transaction] = @original_Transaction AND [Description] = @original_Description AND [Category] = @original_Category AND [Active] = @original_Active"
InsertCommand="INSERT INTO [TransactionType] ([Transaction], [Description], [Category], [Active]) VALUES (@Transaction, @Description, @Category, @Active)"
OldValuesParameterFormatString="original_{0}"
SelectCommand="SELECT * FROM [TransactionType]"
UpdateCommand="UPDATE [TransactionType] SET [Transaction] = @Transaction, [Description] = @Description, [Category] = @Category, [Active] = @Active WHERE [TransactionTypeID] = @original_TransactionTypeID AND [Transaction] = @original_Transaction AND [Description] = @original_Description AND [Category] = @original_Category AND [Active] = @original_Active">
<DeleteParameters>
<asp:Parameter Name="original_TransactionTypeID" Type="Decimal" />
<asp:Parameter Name="original_Transaction" Type="String" />
<asp:Parameter Name="original_Description" Type="String" />
<asp:Parameter Name="original_Category" Type="String" />
<asp:Parameter Name="original_Active" Type="String" />
</DeleteParameters>
<UpdateParameters>
<asp:Parameter Name="Transaction" Type="String" />
<asp:Parameter Name="Description" Type="String" />
<asp:Parameter Name="Category" Type="String" />
<asp:Parameter Name="Active" Type="String" />
<asp:Parameter Name="original_TransactionTypeID" Type="Decimal" />
<asp:Parameter Name="original_Transaction" Type="String" />
<asp:Parameter Name="original_Description" Type="String" />
<asp:Parameter Name="original_Category" Type="String" />
<asp:Parameter Name="original_Active" Type="String" />
</UpdateParameters>
<InsertParameters>
<asp:Parameter Name="Transaction" Type="String" />
<asp:Parameter Name="Description" Type="String" />
<asp:Parameter Name="Category" Type="String" />
<asp:Parameter Name="Active" Type="String" />
</InsertParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:Coupon ManagementConnectionString14 %>"
SelectCommand="SELECT [Description] FROM [CouponTransaction]">
</asp:SqlDataSource>
|
|
|
|
|
hi...to all...
I want to display a wikipedia link on my web page on perticular word(i.e. cancer).how can i do?is there any api is provided by wikipedia or any other way..?.Actually all the contents is coming from database.
My content is not static.it comes from database and it can be contain many number of word which are related to medicine/pharmacy.so using <a> tag it will nt possible.how can i do..?
thnxs in advance.
!- F - R - I - E - N - D - S -!
modified on Monday, July 27, 2009 4:17 AM
|
|
|
|
|
You can use an anchor tag, if you know that the term would be in there. For example, http://en.wikipedia.org/wiki/Google[^][^] is the wiki page for google. I don't know if they offer a webservice, you'd have to look on their site.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
|
You might want to have a look at this[^].
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
adkalavadia wrote: I want to display a wikipedia link on my web page on perticular word(i.e. cancer).
Why do you think you need API to add a link on wikipedia to your website.
<a href="http://en.wikipedia.org/wiki/Cancer">http:
Add this in your webpage.
|
|
|
|
|
For any word do you need a wiki link ? Are you going to bind it dynamically ? If static anchor tag is enough.
Education is not a way to escape poverty — it is a way of fighting it.
|
|
|
|
|
ya...i want the term which are relate to medicine.If i have such list of words on which i want such links den is it possible dynamically...?
!- F - R - I - E - N - D - S -!
|
|
|
|
|
|
kiranreddy wrote: i have made a small windows application with (loginpage and some functionality) ASP.NET2.0 and sqlserver 2000
Windows Application using ASP.NET ?
kiranreddy wrote: now i want this project to be run in different system
I guess you have to developed a web site and want to deploy on IIS ? Am I correct ?
|
|
|
|
|
actually i want to make that as a setup file
and install it in other system
|
|
|
|